Results 1 to 3 of 3
  1. #1
    leonsas is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default Problems running my first GUI

    Hello.
    This is my first time dealing with GUI in Java.
    I'm using Eclipse (Galileo) with the Visual Editor.
    I tried Running my application (not really an application, just a Frame with a Button) both with and without the mains class (as Java Application and java Beans, respectively), but I can preview my frame and button. The application does run, because if I put some simple commands on mains it does run in the console, but the GUI doesn't 'load'.
    Anyone knows what I'm doing wrong? I'm sure its a simple configuration mistake.

    Thanks!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

    Default

    This is my first time dealing with GUI in Java.
    I'm using Eclipse (Galileo) with the Visual Editor.
    Bad idea. Learn Swing coding.
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)

    Anyone knows what I'm doing wrong?
    You're assuming that a visual designer is a beginner's tool. It isn't.

    db

  3. #3
    Prajin's Avatar
    Prajin is offline Senior Member
    Join Date
    Jun 2010
    Location
    Ktm, Nepal
    Posts
    120
    Rep Power
    0

    Default

    The application does run, because if I put some simple commands on mains it does run in the console, but the GUI doesn't 'load'.
    It's not clear what u r saying and what u want. Be precise, what's the problem and what result u wanted.
    And definitely Visual Designer is not good option for learning at start.

    -Regards

Similar Threads

  1. Infinite running loop problems
    By BigDummy in forum New To Java
    Replies: 5
    Last Post: 10-14-2009, 06:39 AM
  2. running problems
    By babygina37 in forum Eclipse
    Replies: 3
    Last Post: 04-20-2009, 04:59 AM
  3. Problems getting jar file running locally
    By edpfister in forum Java Applets
    Replies: 2
    Last Post: 03-09-2009, 08:01 PM
  4. Problems running subreports with JasperReport
    By jiggaworld in forum Advanced Java
    Replies: 0
    Last Post: 10-15-2008, 10:14 AM
  5. Problems in running client class
    By ai_2007 in forum Advanced Java
    Replies: 0
    Last Post: 06-30-2007, 02:57 PM

Posting Permissions

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