Results 1 to 5 of 5
Like Tree2Likes
  • 2 Post By Fubarable

Thread: Hello World!

  1. #1
    Nighthawk0973 is offline Game Programmer
    Join Date
    Sep 2011
    Location
    In front of my computer
    Posts
    4
    Rep Power
    0

    Default Hello World!

    Hello World!

    I am Nighthawk0973 and just joined these forums, an hour later (before I had even posted) I realized I hand't even made my intro! Silly me :D

    Anyways I've been a Java programmer for 2 years now. My favorite editor is Eclipse and the thing I hate the most about Java is that there is no way to update automatically (when it comes to your JDK version) and the fact that you have to use the public void paint stuff instead of

    Java Code:
    Image player = new imageFromFile("C:/File.png");
    
    DrawImage(player, xvariable, yvariable);
    
    Program.Cls();
    For me commands such as those would make game dev SO easy. XD

    I'm what I would consider 'Merging to Intermediate' at Java. I still have a lot to learn and am working on my very first game, but I am not horrible and can make good GUI programs etc.)

    Anyways that's my Hello World Thread, I hope to see you guys around!

  2. #2
    danthegreat is offline Member
    Join Date
    Sep 2011
    Location
    Washington DC
    Posts
    51
    Rep Power
    0

    Default Re: Hello World!

    Welcome!! I'm pretty new to java and these forums. If you have any questions let me know. :)

  3. #3
    Nighthawk0973 is offline Game Programmer
    Join Date
    Sep 2011
    Location
    In front of my computer
    Posts
    4
    Rep Power
    0

    Default Re: Hello World!

    Yeah well, I'm more experienced with Java so I don't think I'll need to be asking you questions. Besides why should I pesture you about my troubles when I have google? XD That's kindof what I use this forum for (or will use it for)

    Example of code I'm assuming you don't understand but I understand just fine.

    Java Code:
    import javax.swing.JFrame;
    
    public class PointLessGUI extends JFrame{
    
    public static void main(String[] args){
    
       PointLessGUI PointLessGUI = new PointLessGUI(); //Get it, "New Pointless GUI!" XD
    
    }
    
    public PointLessGUI(){
    
       setTitle("You guessed it, pointless GUI!");
       setSize(800, 600);
       setLocation(110, 50);
       setResizable(false);
       setDefaultCloseOperation(EXIT_ON_CLOSE);
       setVisible(true); //haha, can't forget this
    
    }
    
    }
    That's it! Basically it creates, a pointless GUI.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default Re: Hello World!

    Quote Originally Posted by Nighthawk0973 View Post
    Example of code I'm assuming you don't understand but I understand just fine.
    If ever I assume that someone doesn't understand something, I usually end up embarrassing myself and underestimating them.
    sunde887 and DeNiS_M like this.

  5. #5
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

Similar Threads

  1. Hello World, new!!!
    By omarovs in forum Introductions
    Replies: 1
    Last Post: 08-06-2011, 10:46 AM
  2. Hello World in AOP
    By lheebhee in forum Eclipse
    Replies: 0
    Last Post: 11-18-2009, 12:30 PM
  3. Hello World
    By MadeinFinland in forum Introductions
    Replies: 0
    Last Post: 02-19-2009, 07:34 AM
  4. hello world
    By wayne.seymour in forum Introductions
    Replies: 2
    Last Post: 02-11-2009, 02:19 PM
  5. Hello, World!
    By Steve11235 in forum Introductions
    Replies: 0
    Last Post: 12-22-2008, 06:00 PM

Posting Permissions

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