Page 1 of 2 12 LastLast
Results 1 to 25 of 34

Thread: What to do when you are a Java begginer?

  1. #1
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What to do when you are a Java begginer?

    What project should i do?

  2. #2
    Join Date
    Dec 2011
    Posts
    496
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    We script in simba here :P no java scripting

  3. #3
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    try creating a calculator (with gui).

    this will help u get to know awt/swing, and might be fun to make.

    also, create your calculator application, then convert it to an applet for the experience.

  4. #4
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by momotron View Post
    We script in simba here :P no java scripting
    If you read a little, im posting this on the "Programming","Java" section

  5. #5
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    try creating a calculator (with gui).

    this will help u get to know awt/swing, and might be fun to make.

    also, create your calculator application, then convert it to an applet for the experience.
    How could i,dont i have to learn other methods to make the applet?
    Thanks

  6. #6
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    You could create a simple hello world, that shows up in the debug box?




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  7. #7
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by R4nd0m View Post
    You could create a simple hello world, that shows up in the debug box?
    I already did it.I did a calculator.What should i do as a project.I did a problem making the ppl to get a solution.What should i do as a project?

  8. #8
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    umm yes and no. the structure is a little different, but all in all, its really similar. in java (applications) the main command is public static void main(String... args){} thats similar to our begin end. in simba. instead of having a main function, an applet has 4 different functions: init(), start(), stop() destroy().

    due to it being hard to explain, i will just say this: once u r done making the application, google around and learn how to make an applet. or even better, send me a copy of the code, and i will convert it + comment out everything that i did.



    EDIT: as another idea, one of my first mini projects was creating a notepad clone (both application and applet). it was fun, but not super challenging. you can create a chat program to communication between computers. you can create a mini game, like Minesweeper (my second mini project).
    Last edited by x[Warrior]x3500; 01-06-2012 at 09:54 PM.

  9. #9
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Make an app that instead of telling you how many items you need for a certain skill level, it tells you it in a time. Like, 1D:16H:43M:23S
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  10. #10
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Make an app that instead of telling you how many items you need for a certain skill level, it tells you it in a time. Like, 1D:16H:43M:23S
    Can you explain your self better,i dont understand.My fault.:S
    Thanks for commenting

  11. #11
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    If you go here: http://www.tip.it/runescape/?page=fletching_calc.htm, you will see that it tells you how many logs to fletch from one level to one of your choice.

    Make an app that converts the amount of logs needed, into game play time.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  12. #12
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    If you go here: http://www.tip.it/runescape/?page=fletching_calc.htm, you will see that it tells you how many logs to fletch from one level to one of your choice.

    Make an app that converts the amount of logs needed, into game play time.
    Too difficult for me.LOL.Thanks again for trying to help.

  13. #13
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    umm yes and no. the structure is a little different, but all in all, its really similar. in java (applications) the main command is public static void main(String... args){} thats similar to our begin end. in simba. instead of having a main function, an applet has 4 different functions: init(), start(), stop() destroy().

    due to it being hard to explain, i will just say this: once u r done making the application, google around and learn how to make an applet. or even better, send me a copy of the code, and i will convert it + comment out everything that i did.



    EDIT: as another idea, one of my first mini projects was creating a notepad clone (both application and applet). it was fun, but not super challenging. you can create a chat program to communication between computers. you can create a mini game, like Minesweeper (my second mini project).
    Hey, i sent you a a message.Thanks.

  14. #14
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Lol, it would be good practice It's not that hard actually.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  15. #15
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Lol, it would be good practice It's not that hard actually.
    Lol,actually im interested on making a "Chatting programm".Do this script will be very difficult?
    Could you give me an example of one.A simple one.If you want,via PM.

  16. #16
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Only after being comfortable with console applications would I suggest attempting to write applications with a GUI.

    Do the Java Tutorial exercises of course, make sure that those all run correctly. Try looking up some different algorithms that can be implemented and tested in code, some good ideas for this are encryption methods and fractal drawers.

  17. #17
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Echo_ View Post
    Only after being comfortable with console applications would I suggest attempting to write applications with a GUI.

    Do the Java Tutorial exercises of course, make sure that those all run correctly. Try looking up some different algorithms that can be implemented and tested in code, some good ideas for this are encryption methods and fractal drawers.
    Can you or someone explain me what is "Gui"?

  18. #18
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Graphical User Interface.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  19. #19
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Graphical User Interface.
    Thanks.Do you know any page where i can learn?

  20. #20
    Join Date
    Dec 2011
    Location
    Iceland
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I suggest trying to make a rs script in Simba. It is Fun, Easy and very Rewarding!

  21. #21
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by RuNnNy View Post
    I suggest trying to make a rs script in Simba. It is Fun, Easy and very Rewarding!
    Well,actually,it´s difficult to do a Simba script if you dont know anything about Java.And,actually i think that Simba uses "Pascal" language.Im learning Java.

  22. #22
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    If you're trying to learn programming, Java is an exellent language to start with. Its easy and powerful for what it is.
    I wouldn't start off with GUI's just yet until you get the basics down, if I were you then I would start with basic console input/output. Read a user's input and then output it back at them. Then make a simple calculator that asks for two numbers and then adds them, multiplies them, etc.

    Then learn about File IO and exceptions and make a few programs with that.. then go from there.

    I would also create an IRC bot after you learn the basics. An IRC bot is simple to make yet you learn alot in the process.

  23. #23
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    i sent u a message that will teach u all of that stuff

  24. #24
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ShawnjohnSJ View Post
    If you're trying to learn programming, Java is an exellent language to start with. Its easy and powerful for what it is.
    I wouldn't start off with GUI's just yet until you get the basics down, if I were you then I would start with basic console input/output. Read a user's input and then output it back at them. Then make a simple calculator that asks for two numbers and then adds them, multiplies them, etc.

    Then learn about File IO and exceptions and make a few programs with that.. then go from there.

    I would also create an IRC bot after you learn the basics. An IRC bot is simple to make yet you learn alot in the process.
    Hey,thanks!I have been watching "TheNewBoston" until now.I made a calculator but i dont understand what are you trying to say when you refeer to "File IO and Exceptions"?

    Thanks for commenting!

  25. #25
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Gaston7eze View Post
    Hey,thanks!I have been watching "TheNewBoston" until now.I made a calculator but i dont understand what are you trying to say when you refeer to "File IO and Exceptions"?

    Thanks for commenting!
    Thenewboston is great for learning the basics.

    What I mean by File IO and exceptions is..

    File input/output = writing and reading from files

    exceptions = exceptions are basically a way of catching and handling errors, they're used ALOT in Java so you should get to know them asap.

    I believe thenewboston has a tutorial on file input/output.. but its not until the 70's or somewhere around there. I'm not sure if he explains in depth what an exception is but I would recommend looking here.

    http://docs.oracle.com/javase/tutori...al/exceptions/

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •