View Single Post
  #3 (permalink)  
Old 02-17-2008, 09:09 PM
birdofprey birdofprey is offline
Member
 
Join Date: Feb 2008
Posts: 3
birdofprey is on a distinguished road
for the first part.

Code:
private JTextField getEntry() { entry = new JTextField(); }
This wouldn't work, in my case, because JTextField isn't returning "JTextField"

Because the way my code is written where all the JTextField, JButton .. etc.. are added like this "JContentpane.add(getButton);".

What do you think?
Reply With Quote