Jump to content

learning java


peter123456

Recommended Posts

Guest Falixus

 

That's great.

Any ideas what you would want your first script to be?

 

your sig is sexy as hell im not surew yet somthin prob not to hard but very useful any ideas?

 

Hm. Perhaps a Woodcutting script. :p

Link to comment
Share on other sites

Guest Falixus

 

 

 

That's great.

Any ideas what you would want your first script to be?

 

your sig is sexy as hell im not surew yet somthin prob not to hard but very useful any ideas?

 

Hm. Perhaps a Woodcutting script. tongue.png

 

 

what would you want it to wc?

 

No idea. I just know that a lot of people start out with scripts like that. 

Link to comment
Share on other sites

If you're having trouble with brackets then idk what to tell you.

 

Persian dick as always

 

Peter:

If you want to start scripting and learn some java i will link you to some of the basics:

 

Java Keywords:

 

http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html

 

Wikipedia is best for the keywords as it gives a definition:

 

http://en.wikipedia.org/wiki/List_of_Java_keywords

 

 

Java parentheses:

http://beginwithjava.blogspot.com.au/2008/07/parens-and-brackets-and-braces-oh-my.html

 

explains the brackets you speak of..

 

 

 

 

 

Osbot API:

www.osbot.org/api

 

What is an API?

 

http://en.wikipedia.org/wiki/Application_programming_interface

 

 

 

Usefully java class's for scripting:

http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html

http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html

http://docs.oracle.com/javase/7/docs/api/java/lang/System.html

 

 

 

Important for GUI'S! (User friendly is apart of scripting whether you like it or not)

http://www.eclipse.org/windowbuilder/

 

 

And of course their is the osbot snippet section

 

http://osbot.org/forum/forum/156-snippets/

  • Like 2
Link to comment
Share on other sites

If you're having trouble with brackets then idk what to tell you.

Persian dick as always

Peter:

If you want to start scripting and learn some java i will link you to some of the basics:

Java Keywords:

http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html

Wikipedia is best for the keywords as it gives a definition:

http://en.wikipedia.org/wiki/List_of_Java_keywords

Java parentheses:

http://beginwithjava.blogspot.com.au/2008/07/parens-and-brackets-and-braces-oh-my.html

explains the brackets you speak of..

Thanks!

Osbot API:

www.osbot.org/api

What is an API?

http://en.wikipedia.org/wiki/Application_programming_interface

Usefully java class's for scripting:

http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html

http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html

http://docs.oracle.com/javase/7/docs/api/java/lang/System.html

Important for GUI'S! (User friendly is apart of scripting whether you like it or not)

http://www.eclipse.org/windowbuilder/

And of course their is the osbot snippet section

http://osbot.org/forum/forum/156-snippets/

Link to comment
Share on other sites

  • 2 weeks later...

I would recommend to not use eclipse while learning. Eclipse isn't useful for programs that aren't complex. If you are not knowledgeable enough to have a firm understanding of the language and can't get your script to compile without the help of Eclipse, your script is going to be useless when it is compiled.

 

Java is a very easy language. If you are interested in learning to script, I have a couple of tips for you.

 

1. Don't use Eclipse, trust me. It will improve your attention to detail which is important in scripting.

2. Read existing code. When I learn any new language, the first thing I do is look through many lines of source code. You will be able to learn how other programmers with more experience than yourself solve problems. This is the single most important step to being a programmer.

3. Head first Java. This book series is great for newbies. Years ago when I was younger I was introduced to these books by one of my high school professors. This book is designed for newbies, with easy to understand language and some fun and interesting hands on projects this is enough to get you up and running with your first scripts. You can download this off thepiratebay easily.

4. Hands on experience. After learning a new concept, for example a while loop, implement it a couple dozen times in different ways to get your fingers used to the syntax. This is just like taking notes in school. Writing things out helps you remember them, and typing out code helps you remember the syntax.

 

Good luck, have fun, and keep at it! There is a VERY steep learning curve for programming. It took me about 3 years of programming as a hobby until it all clicked and I started pumping out some really great programs. It is definitely worth it in the end!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...