File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Setting JButton's Height Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Setting JButton Watch "Setting JButton New topic
Author

Setting JButton's Height

Flavio Nobili
Ranch Hand

Joined: Jan 28, 2004
Posts: 58
Hi everybody,
In a frame window I have a button which opens a JFileChooser. This button has the text "...". It should have the same height as the text field which is beside it. I've tried to set the height, but this has not worked.
How can I do that?
Regards.
Fl�vio.


Java Developer
SCJP, SCJD, SCWCD, SCBCD
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
Consider Paul's rocket mass heater.
 
subject: Setting JButton's Height
 
Similar Threads
Dynamic adding
java code to create a folder and save a text file in it..!!
Different cell sizes for jlist cells
ImageUpdate to modify HEIGHT of a JCheckBox
To get the focus around the text in a label like in a button