This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-02-03 22:03:05

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

Is it evil of me to skip slightly forward so I can get user input knowledge? I'd go back to the previous sections, but to be honest, for my purposes I will rarely ever need a program without user input, and I'd rather get user input then go back and create more powerful applications while going back.  hmm

Last edited by 16Skittles (2012-02-03 22:03:31)


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#27 2012-02-04 11:17:11

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

maxskywalker wrote:

LOL so much talk about how that dev env is inferior to this one, and I use NotePad!

Lol, if you use notepad, the biggest thing you miss is syntax highlighting and automatic tabbing. Other than that it works just fine, but  especially for someone learning the syntax it is best to use an IDE

Why?  What's wrong with the syntax?

Offline

 

#28 2012-02-04 11:19:53

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

Is it evil of me to skip slightly forward so I can get user input knowledge? I'd go back to the previous sections, but to be honest, for my purposes I will rarely ever need a program without user input, and I'd rather get user input then go back and create more powerful applications while going back.  hmm

No.  However, user input is simplest if you use the thenewboston YouTube tutorials (meaning the Scanner module/class), IMO.

It's here, so you don't have to find it yourself.

Offline

 

#29 2012-02-04 16:57:10

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

maxskywalker wrote:

16Skittles wrote:

maxskywalker wrote:

LOL so much talk about how that dev env is inferior to this one, and I use NotePad!

Lol, if you use notepad, the biggest thing you miss is syntax highlighting and automatic tabbing. Other than that it works just fine, but  especially for someone learning the syntax it is best to use an IDE

Why?  What's wrong with the syntax?

Nothing is wrong with the syntax, what I'm saying is that in NetBeans it automatically highlights syntax errors, so it is easier for beginners to see what they've done wrong. Also, it's nice to have a Swing editor built in (one of Java's built in GUI creators) and automatic compiling/running of programs.
Also, thanks for the link there.  smile

Last edited by 16Skittles (2012-02-04 16:57:33)


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#30 2012-02-04 21:00:59

Solarbuddy
Scratcher
Registered: 2009-04-14
Posts: 500+

Re: Java Official Topic

I suggest using www.codecademy.com
It's the easiest way I've seen learning javascript.  smile


http://bit.ly/Vn3zid
                  View my latest project

Offline

 

#31 2012-02-04 21:57:43

wmays
Scratcher
Registered: 2008-05-10
Posts: 500+

Re: Java Official Topic

Solarbuddy wrote:

I suggest using www.codecademy.com
It's the easiest way I've seen learning javascript.  smile

Java and Javascript are like pine and pineapple. The name is similar, but they're completely different.

Aside from that, I'm making plugins for Bukkit. Just sorta diving in, not a good idea, but oh well.


http://i42.tinypic.com/2z5vcz9.gif
http://phpscripthost.comoj.com/imagescripts/ipimg.php

Offline

 

#32 2012-02-05 08:30:54

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

wmays wrote:

Solarbuddy wrote:

I suggest using www.codecademy.com
It's the easiest way I've seen learning javascript.  smile

Java and Javascript are like pine and pineapple. The name is similar, but they're completely different.

Aside from that, I'm making plugins for Bukkit. Just sorta diving in, not a good idea, but oh well.

Yeah. Technically, Javascript is ECMAScript, it was just named that because of its simmilar syntax.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#33 2012-02-05 08:51:17

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Java Official Topic

i have made a java/scratch connector here feel free to use it but please give credit  wink  if you need any help with that or anything else in java just ask!


http://i.imgur.com/1QqnHxQ.png

Offline

 

#34 2012-02-05 10:30:38

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

maxskywalker wrote:

16Skittles wrote:

Lol, if you use notepad, the biggest thing you miss is syntax highlighting and automatic tabbing. Other than that it works just fine, but  especially for someone learning the syntax it is best to use an IDE

Why?  What's wrong with the syntax?

Nothing is wrong with the syntax, what I'm saying is that in NetBeans it automatically highlights syntax errors, so it is easier for beginners to see what they've done wrong. Also, it's nice to have a Swing editor built in (one of Java's built in GUI creators) and automatic compiling/running of programs.
Also, thanks for the link there.  smile

I don't really get many syntax errors, except a few typos and other mistakes that I can easily locate and fix through the command line error messages.  Also, I'm on a Mac (which means that it's actually TextEdit not NotePad, but whatever), so I have Swing preinstalled.  And your welcome.   smile

Last edited by maxskywalker (2012-02-05 10:30:56)

Offline

 

#35 2012-02-05 10:32:36

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

wmays wrote:

Solarbuddy wrote:

I suggest using www.codecademy.com
It's the easiest way I've seen learning javascript.  smile

Java and Javascript are like pine and pineapple. The name is similar, but they're completely different.

Aside from that, I'm making plugins for Bukkit. Just sorta diving in, not a good idea, but oh well.

Yeah. Technically, Javascript is ECMAScript, it was just named that because of its simmilar syntax.

I thought that ECMAScript was switched to JavaScript because Java was a really popular language, and by naming it JavaScript, a lot of people were tricked into learning and using JavaScript instead of Java.  A lot of non-programmers think that JavaScript is just the full name of a shortened Java.

Offline

 

#36 2012-02-05 11:03:49

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

maxskywalker wrote:

A lot of non-programmers think that JavaScript is just the full name of a shortened Java.

Lol, the people who wrote the SOPA legislation?

Anyway, thank you for recommending TheNewBoston's tutorials. I skipped up to the mouse input stage (don't judge, just  keep reading!) and I am currently downloading Eclipse so I can start from the beginning of his tutorials.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#37 2012-02-05 11:23:29

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

maxskywalker wrote:

A lot of non-programmers think that JavaScript is just the full name of a shortened Java.

Lol, the people who wrote the SOPA legislation?

Anyway, thank you for recommending TheNewBoston's tutorials. I skipped up to the mouse input stage (don't judge, just  keep reading!) and I am currently downloading Eclipse so I can start from the beginning of his tutorials.

Alright.  I haven't actually GOTTEN to the mouse input thing.  Do you mean Swing, or is there something else?

Offline

 

#38 2012-02-05 11:33:39

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

maxskywalker wrote:

16Skittles wrote:

maxskywalker wrote:

A lot of non-programmers think that JavaScript is just the full name of a shortened Java.

Lol, the people who wrote the SOPA legislation?

Anyway, thank you for recommending TheNewBoston's tutorials. I skipped up to the mouse input stage (don't judge, just  keep reading!) and I am currently downloading Eclipse so I can start from the beginning of his tutorials.

Alright.  I haven't actually GOTTEN to the mouse input thing.  Do you mean Swing, or is there something else?

Swing, I think. It's one of the final tutorials, I skipped ahead a ton  tongue  Don't worry, though, I'm starting from the beginning now with Eclipse.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#39 2012-02-05 13:32:49

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

maxskywalker wrote:

16Skittles wrote:

Lol, the people who wrote the SOPA legislation?

Anyway, thank you for recommending TheNewBoston's tutorials. I skipped up to the mouse input stage (don't judge, just  keep reading!) and I am currently downloading Eclipse so I can start from the beginning of his tutorials.

Alright.  I haven't actually GOTTEN to the mouse input thing.  Do you mean Swing, or is there something else?

Swing, I think. It's one of the final tutorials, I skipped ahead a ton  tongue  Don't worry, though, I'm starting from the beginning now with Eclipse.

Wow.  Really far ahead.  You can also Google something like 'intermediate java tutorial thenewboston' for some more advanced subjects, including applets.

Last edited by maxskywalker (2012-02-05 13:33:10)

Offline

 

#40 2012-02-05 13:57:32

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

maxskywalker wrote:

16Skittles wrote:

maxskywalker wrote:


Alright.  I haven't actually GOTTEN to the mouse input thing.  Do you mean Swing, or is there something else?

Swing, I think. It's one of the final tutorials, I skipped ahead a ton  tongue  Don't worry, though, I'm starting from the beginning now with Eclipse.

Wow.  Really far ahead.  You can also Google something like 'intermediate java tutorial thenewboston' for some more advanced subjects, including applets.

Well, I did none of the ones leading up to it, and I'm really not that advanced in Java. I'm starting from the beginning of his tutorials so I can learn better, having him say it is much easier than trying to read it in the Oracle web site.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#41 2012-02-05 21:30:44

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

maxskywalker wrote:

16Skittles wrote:


Swing, I think. It's one of the final tutorials, I skipped ahead a ton  tongue  Don't worry, though, I'm starting from the beginning now with Eclipse.

Wow.  Really far ahead.  You can also Google something like 'intermediate java tutorial thenewboston' for some more advanced subjects, including applets.

Well, I did none of the ones leading up to it, and I'm really not that advanced in Java. I'm starting from the beginning of his tutorials so I can learn better, having him say it is much easier than trying to read it in the Oracle web site.

Yeah.  I learned a weeks's worth of Java in just one or two days from those tutorials.

Offline

 

#42 2012-02-05 21:33:37

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

My goal, however unreachable, is to get my skills up enough to make a simple game for Ludum Dare 23. It's April 20-23, so that gives me all of February, March, and lots of April to learn Java. It may be a horrible game, but it'll be a hack of a lot of fun! I'll need to hope I don't have baseball that weekend though...

Edit: If anyone wants we could team up for the Jam...

Last edited by 16Skittles (2012-02-05 21:34:26)


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#43 2012-02-06 08:33:33

wmays
Scratcher
Registered: 2008-05-10
Posts: 500+

Re: Java Official Topic

16Skittles wrote:

My goal, however unreachable, is to get my skills up enough to make a simple game for Ludum Dare 23. It's April 20-23, so that gives me all of February, March, and lots of April to learn Java. It may be a horrible game, but it'll be a hack of a lot of fun! I'll need to hope I don't have baseball that weekend though...

Edit: If anyone wants we could team up for the Jam...

I won't be able to do that, but maybe I could for the next one... when is it?


http://i42.tinypic.com/2z5vcz9.gif
http://phpscripthost.comoj.com/imagescripts/ipimg.php

Offline

 

#44 2012-02-06 17:11:35

GameHutSoftware
Scratcher
Registered: 2010-04-24
Posts: 1000+

Re: Java Official Topic

does any know how to make java respond when you hit enter?
im using netbeans
if thats any help


Lurking more than posting, but still here.

Offline

 

#45 2012-02-06 17:41:42

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

What is it for? Also, maybe put up your source? (unless it is government top-secret lol  tongue )


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#46 2012-02-06 22:15:17

GameHutSoftware
Scratcher
Registered: 2010-04-24
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

What is it for? Also, maybe put up your source? (unless it is government top-secret lol  tongue )

theres a text box that you can type in and a text area that you cant type in
i want it to be
if you type something in the text box and hit enter
your text shows up in the text area
i know how to do everything but the hitting enter part


Lurking more than posting, but still here.

Offline

 

#47 2012-02-06 23:25:13

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

GameHutSoftware wrote:

16Skittles wrote:

What is it for? Also, maybe put up your source? (unless it is government top-secret lol  tongue )

theres a text box that you can type in and a text area that you cant type in
i want it to be
if you type something in the text box and hit enter
your text shows up in the text area
i know how to do everything but the hitting enter part

Source would be a help, I think. This is using Swing, right? I haven't done much that far. If you can do a console, you can use a scanner and do the (name of scanner variable).nextLine() function.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#48 2012-02-07 11:02:56

GameHutSoftware
Scratcher
Registered: 2010-04-24
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

GameHutSoftware wrote:

16Skittles wrote:

What is it for? Also, maybe put up your source? (unless it is government top-secret lol  tongue )

theres a text box that you can type in and a text area that you cant type in
i want it to be
if you type something in the text box and hit enter
your text shows up in the text area
i know how to do everything but the hitting enter part

Source would be a help, I think. This is using Swing, right? I haven't done much that far. If you can do a console, you can use a scanner and do the (name of scanner variable).nextLine() function.

there isnt any source to put up yet
and yes im using swing (i think)


Lurking more than posting, but still here.

Offline

 

#49 2012-02-07 11:29:09

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Java Official Topic

GameHutSoftware wrote:

16Skittles wrote:

GameHutSoftware wrote:


theres a text box that you can type in and a text area that you cant type in
i want it to be
if you type something in the text box and hit enter
your text shows up in the text area
i know how to do everything but the hitting enter part

Source would be a help, I think. This is using Swing, right? I haven't done much that far. If you can do a console, you can use a scanner and do the (name of scanner variable).nextLine() function.

there isnt any source to put up yet
and yes im using swing (i think)

Well of course there is a source code... Otherwise you would have nothing! Your .java files are what I'm talking about.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#50 2012-02-07 11:45:17

GameHutSoftware
Scratcher
Registered: 2010-04-24
Posts: 1000+

Re: Java Official Topic

16Skittles wrote:

GameHutSoftware wrote:

16Skittles wrote:


Source would be a help, I think. This is using Swing, right? I haven't done much that far. If you can do a console, you can use a scanner and do the (name of scanner variable).nextLine() function.

there isnt any source to put up yet
and yes im using swing (i think)

Well of course there is a source code... Otherwise you would have nothing! Your .java files are what I'm talking about.

i do have nothing


Lurking more than posting, but still here.

Offline

 

Board footer