dcsimg
Why JTextField.setFont in 1.4 removes added components from the jTextField?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Demetris_Manikas
Posted On:   Friday, August 16, 2002 04:01 AM

			
I have added a JButton to a JTextField.
After calling the method setFont on a such textField the button
is removed. This wasn't happening in 1.3. Please some help!!!

Re: Why JTextField.setFont in 1.4 removes added components from the jTextField?

Posted By:   Mike_Friedrich  
Posted On:   Friday, August 16, 2002 08:31 AM

As i know adding a button to a textfield is not recommended. Try to add both to a JPanel and set the layout as needed.


Regards, Mike

About | Sitemap | Contact