Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 74085
332
  • 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: 74085
332
  • 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: 74085
332
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic