File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Building Application with Forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Building Application with Forms" Watch "Building Application with Forms" New topic
Author

Building Application with Forms

Sam Benry
Ranch Hand

Joined: Mar 21, 2008
Posts: 89
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
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38016
    
  22
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

Joined: Mar 21, 2008
Posts: 89
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
Sheriff

Joined: Oct 13, 2005
Posts: 38016
    
  22
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

Joined: Mar 21, 2008
Posts: 89
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
Sheriff

Joined: Oct 13, 2005
Posts: 38016
    
  22
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Building Application with Forms
 
Similar Threads
How to practice struts in Eclipse
hibernate query
Urgent....MDI form in Java
Using Tapestry
certificate ???