This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Setting JButton Watch "Setting JButton New topic

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?

Java Developer
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
I agree. Here's the link:
subject: Setting JButton's Height
It's not a secret anymore!