DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005

    Holy cow this is complicated!

    I downloaded JBuilder Foundation and it looks pretty crazy. When I start a new project and then I look into the code window there is a whole bunch on code already there and I don't understand any of it. I was wondering if there is a way to create a simple console application like you can in C++ Builder, where the code window contains practically nothing and you add your code as it's shown in the example in your book. I haven't found if you can do that or not in JBuilder. I'd like to start by just entering this in the code window:

    public class Welcome1 {
    public static void main(String args[])
    System.out.println(Welcome to Java Programming!");

    And when you click Run you get this:

    Welcome to Java Programming!

    If I can't do this in JBuilder I may have to switch to something easier like maybe downloading a text editor and then the Java language and doing it that way. I'd kind of like to be able to use an IDE but I need to be able to do what I said.

  2. #2
    Join Date
    Nov 2004
    1: create a project...
    2: new -> frame, check 'create main'
    3: select designer tab
    4: select 'default close operation in the property inspector, select 'dispose on close'
    4: slap on a JLabel, select it and..
    5: select the 'text' property in the property inspector, write "Welcome to EXTREME java programming"
    6: Compile
    7: select project->project properties->run->new
    8: select the main class (the frame you just created....)

    Buckle up and Click Run.
    eschew obfuscation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

By using this site, you agree to the Privacy Policy