VE puzzle [message #123288] |
Mon, 17 April 2006 18:22  |
Eclipse User |
|
|
|
Originally posted by: Lucas342.telcel.net.ve
I put a vertically split JSplitPane on a JFrame and the panel shows two
legends: "left button" and "right button" as a kind of default text but
can't figure out where this darn text is in the code, it's hidden.
Also, the text is in spanish, apparently it takes the locale of the machine
How do I eliminate such text?
Thanks
Lucas
|
|
|
Re: VE puzzle [message #123302 is a reply to message #123288] |
Mon, 17 April 2006 19:37  |
Eclipse User |
|
|
|
Lucas,
Those buttons are not really there in the Visual Class you're designing
- they're added to the image of a JSplitPane so that it'll have a
meaningful appearance if the split pane does not have two components
added to it. If this wasn't done, the separator bar would be difficult
to see. The buttons and text will go away within the VE when you add a
component to the JSplitPane in both positions. You can also see how
your class really looks like without adding components at this point by
running it as a Java Bean.
Hope this helps,
- Jeff
|
|
|
Re: VE puzzle [message #612673 is a reply to message #123288] |
Mon, 17 April 2006 19:37  |
Eclipse User |
|
|
|
Lucas,
Those buttons are not really there in the Visual Class you're designing
- they're added to the image of a JSplitPane so that it'll have a
meaningful appearance if the split pane does not have two components
added to it. If this wasn't done, the separator bar would be difficult
to see. The buttons and text will go away within the VE when you add a
component to the JSplitPane in both positions. You can also see how
your class really looks like without adding components at this point by
running it as a Java Bean.
Hope this helps,
- Jeff
|
|
|
Powered by
FUDForum. Page generated in 0.03778 seconds