Results 1 to 5 of 5
  1. #1
    maizuddin35 is offline Member
    Join Date
    Oct 2010
    Posts
    3
    Rep Power
    0

    Red face does gui coding in netbeans is just the same with coding without nebeans?

    Hello guys!
    Im new here.Hope you guys will help me with this one.Ok, here it goes.
    I've learned Java programming, and know and understands how to code/program in java but not much though. Now I have a project that uses netbeans. My project is , developing something like, computer/cyber cafe log , where students/users, will log in and out with the program I do, and it will also have the ability to calculate payments .So now, I have design an interface, I have a text box, checkbox, and radio button, but I don't have a clue how to code with it. does it work the same as , if I use Scanner to scan input messages for the text box?

    I hope my message is clear. thanks in advanced.
    regards
    adib.

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

    Default

    Java is Java, in other words all Java programs have to obey Java syntax rules, but in general GUI programming is different from console programming, and so no, you won't be using a Scanner. For one thing GUI programs are event-driven while console programs are usually much more linear (usually). So you're probably going to want to study the Swing tutorials to help you understand it better.

    Luck!

  3. #3
    maizuddin35 is offline Member
    Join Date
    Oct 2010
    Posts
    3
    Rep Power
    0

    Default

    I also have learned the swing thing. where we use gui right, where got, import javax.swing.JOptionPane; something like that right.

    I have also learn some with guis.where a window will popup

    but what I don't understand is, when I need to deal with netbeans.

    I have drag a textbox. and double click on it. now it shows on the design section. what should I code if I want that textbox to receive input .?

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

    Default

    Quote Originally Posted by maizuddin35 View Post
    but what I don't understand is, when I need to deal with netbeans.

    I have drag a textbox. and double click on it. now it shows on the design section. what should I code if I want that textbox to receive input .?


    Go to the source: Lesson: Learning Swing with the NetBeans IDE (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    Luck!

  5. #5
    maizuddin35 is offline Member
    Join Date
    Oct 2010
    Posts
    3
    Rep Power
    0

    Default

    thanks for the reply, Ill try that link, and post something up if I have any more problem.

Similar Threads

  1. Need help coding
    By ace_03 in forum New To Java
    Replies: 2
    Last Post: 11-25-2009, 05:16 PM
  2. Coding help
    By Java_Fanatic in forum New To Java
    Replies: 7
    Last Post: 10-15-2009, 04:37 AM
  3. Better coding
    By tomiu in forum New To Java
    Replies: 1
    Last Post: 04-09-2009, 07:19 PM
  4. coding help
    By accies76 in forum New To Java
    Replies: 5
    Last Post: 11-12-2008, 08:15 PM
  5. Problem in my coding
    By one198 in forum New To Java
    Replies: 9
    Last Post: 08-09-2007, 10:07 AM

Posting Permissions

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