Results 1 to 2 of 2
Thread: JButton User Draw Text?
- 01-21-2013, 06:52 AM #1
Member
- Join Date
- Jan 2013
- Posts
- 9
- Rep Power
- 0
JButton User Draw Text?
Hi,
I am new to Java but not to GUI programming. I have created a JButton with both an Icon and Text on the center of the button. The problem I have is that the control thinks the text is too big to fit on the button and draws the text as "...". Pixel-wise it will fit just fine. Is there a way for me to draw the text myself?Last edited by tim8w; 01-21-2013 at 06:59 AM.
- 01-21-2013, 08:16 AM #2
Similar Threads
-
New AWT/SWING user, help in JButton
By corrax in forum AWT / SwingReplies: 7Last Post: 04-02-2011, 03:27 AM -
draw shape with user defined values
By cka in forum New To JavaReplies: 4Last Post: 07-14-2010, 03:35 PM -
How to draw and delete according to user input?
By ProspectiveDeveloper in forum AWT / SwingReplies: 8Last Post: 04-22-2010, 11:58 PM -
How to draw text along a curve
By Java Tip in forum java.awtReplies: 0Last Post: 06-25-2008, 10:31 AM -
How to Draw Text in Java
By Java Tip in forum java.awtReplies: 0Last Post: 06-23-2008, 11:14 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks