Results 1 to 4 of 4
  1. #1
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default Delete a control from a java form

    I created a Java Form from the template that comes with netbeans. In the preview window for the Form I want to delete the blasted progress bar in the bottom. Everytime I right click and delete it, netbeans gives me an error and the file can't compile.

    How do I delete this or any other control from a Java Form?

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

    Default

    You may not welcome this, but I advise you to shun the NetBeans visual designer and learn to code your own Swing GUIs.
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)

    Much as it may seem so, the visual designer is *not* a beginners' tool. It does help experienced Swing coders to improve their productivity, the operative word being experienced.

    db

  3. #3
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default

    That's find by me, I would just like to know how to remove the darned control. If I need to learn to code a form from scratch it, then I'll do it. It seems that it will be faster than trying to remove the control anyway.

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

    Default

    If I need to learn to code a form from scratch it, then I'll do it. It seems that it will be faster than trying to remove the control anyway.
    Take my word for it, learning the quirks of the visual designer won't end with learning how to remove a component. Go through the tutorial I linked and you'll be well on your way to hand-coding the GUI of your choice in a very short time!

    db

Similar Threads

  1. Replies: 1
    Last Post: 05-27-2010, 09:48 PM
  2. Using revision control (RCS) with java
    By itaipee in forum Advanced Java
    Replies: 1
    Last Post: 10-29-2009, 06:24 PM
  3. Replies: 2
    Last Post: 04-20-2009, 08:00 AM
  4. Java Logger ( How to control it better)
    By itaipee in forum New To Java
    Replies: 3
    Last Post: 03-03-2009, 10:35 PM
  5. control app width based on certain control
    By thebillybobjr in forum SWT / JFace
    Replies: 0
    Last Post: 05-15-2008, 04:52 PM

Tags for this Thread

Posting Permissions

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