Results 1 to 1 of 1
- 12-30-2010, 03:31 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 6
- Rep Power
- 0
Objects not referenced in the sources
Hi everybody!
I've been programing in java 4 months for my final project, which is to develop new features for an existing control program.
My problem is:
- I have a project in Netbeans (the one i start from)
- inside one package, there is a JPanel (not a JFrame) that is called from the main project.
-now i need to modify it (in the design view) and add some objects (buttons, panels, and so) All the new objects I add are NOT referenced in the source of this JPanel
I mean, if I create a button called "JButton1" and I enter the source
and try to write JButton1.setText("hello"); Netbeans mark the line as an error (Cannot find the symbol)
note: creating objets in the source like JButton bt=new JButton();
is not an option because the layout I need is quite complex.
Can anyone help me?
Thanks in advance.
Similar Threads
-
Sources for project "Big digits"
By Vagabond.drv in forum New To JavaReplies: 8Last Post: 12-22-2010, 09:03 AM -
Library to read from multiple sources
By bellurashwin in forum Advanced JavaReplies: 1Last Post: 10-08-2009, 10:09 AM -
read txt file,with some records, create objects and store objects in tables of a db.
By stamv in forum JDBCReplies: 1Last Post: 01-22-2009, 04:25 PM -
Algorithms in Java: where to find sources?
By javalover in forum New To JavaReplies: 0Last Post: 09-21-2008, 07:33 AM -
int cannot be referenced
By elizabeth in forum New To JavaReplies: 2Last Post: 07-26-2007, 04:07 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks