• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Building Application with Forms

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well I know how to create command line application with
public static void main(String[] args)... as main argument..
I am searching for a guide to tell me the BASICS of creating forms, text boxes and buttons .. etc
Please can you guide me and tell me where to start. Any tutorials would be helpful, where should I read guides for an absolute newbie ?
Thanks
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to bookmark the Java Tutorials. Go through the index and there is a section about GUIs, with lots and lots of subsections.

You would still usually start off your application from the command line, however.
 
Sam Benry
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks a lot, I started building GUI applications. I have 2 questions:
1) Is it good to use NetBeans IDE ? I used to use eclipse but its much easier to use Netbeans for GUI... (drag and drop)
2) Can you please tell me how to trigger Form_Load ? I want to hide some components when the application starts, but I cant figure out where to place the code that is triggered when the Form is loaded...
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eclipse and NetBeans are both perfectly good applications. I prefer Eclipse, but lots of people prefer NetBeans. Be aware that the drag'n'drop interface creates its own style of code inside a method (I think init()) which is different from what you get when you code by hand.
 
Sam Benry
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm fairly new to this, so is it worse to use drag and drop ? why ?
And can you answer the question about Form_Load?
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not familiar with Form_Load.

Most people think it is worthwhile learning what the code underlying the drag'n'drop is first. That's probably as far as it goes.

Anybody else's opinions welcomed, please.
 
reply
    Bookmark Topic Watch Topic
  • New Topic