Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 28th, 2008, 08:24 AM
merah merah is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 1 merah User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 40 sec
Reputation Power: 0
Problem java

From an example on internet which uses jframe I want to create a file on netbens6 otherwise how to remove the lines which it generates by default.

Reply With Quote
  #2  
Old March 5th, 2008, 02:03 AM
Supura Supura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 3 Supura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 16 m 33 sec
Reputation Power: 0
Quote:
Originally Posted by merah
From an example on internet which uses jframe I want to create a file on netbens6 otherwise how to remove the lines which it generates by default.


Can you reformulate your question please ?
Thanks


Do you speak about this code in the page generated in Netbeans 6 ?
Code:
// Variables declaration - do not modify
    private javax.swing.JPanel mainPanel;
    private javax.swing.JMenuBar menuBar;
    private javax.swing.JProgressBar progressBar;
    private javax.swing.JLabel statusAnimationLabel;
    private javax.swing.JLabel statusMessageLabel;
    private javax.swing.JPanel statusPanel;
    // End of variables declaration

Reply With Quote
  #3  
Old March 5th, 2008, 09:12 PM
paulscode paulscode is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Location: Fort Meade, MD
Posts: 42 paulscode User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 31 m 15 sec
Reputation Power: 1
I usually just create a new "Java Class", rather than picking one of the templates (in your case, I assume you are picking "create a new JPanel"). A generic java class will start you out with just an empty class, which you can code however you like.

Those templates can be useful when you are starting out with something, and are not sure what all you need to have in your code.

In your case, you don't really need a template, since you are copying an internet example. Just "create a new Java class", give it the proper name, then paste in the code from the internet example.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Problem java


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT