JSpinner not there? [message #119122] |
Mon, 27 February 2006 20:31  |
Eclipse User |
|
|
|
Originally posted by: jtm297.optonline.net
I currently have the newest Visual Editor 1.2 plugin. What is odd is that
on the palette I cannot find JSpinner. So I tried a different plugin
named: Jigloo. Seems good, and it has a JSpinner, but I am used to Visual
Editor, and I notice if I add a JSpinner from Jigloo and view it in the
Visual Editor, the Visual Editor is parsing the JSpinner and completely
supports it. Why isn't it available on the palette, is it just hidden
because its not complete? I was hoping to use it without having to keep
switching to Jigloo and having it add tons of comments at the top of my
java. Ok I hope someone could lead me in the right direction on what I
could edit to get this widget to appear on the palette. I am using Swing.
|
|
|
|
|
|
|
Re: JSpinner not there? [message #612198 is a reply to message #119122] |
Tue, 28 February 2006 00:59  |
Eclipse User |
|
|
|
Hi,
JSpinner is a JDK 1.4 component and the palette
only contains components from JDK 1.2. So,
JSpinner is missing but JFormattedTextField too
and some component properties introduced after
1.2 are missing in the properties view (i.e.
java.awt.Component.focusable).
However, you can add a JSpinner or a
JFormattedTextField or any other component
missing in the palette using the "Choose Bean"
button. To assign the "focusable" property value,
for example, you must edit directly the source
code.
It seems Swing is the big forsaken in VE.
Francesc Rosés
|
|
|
Re: JSpinner not there? [message #612200 is a reply to message #119139] |
Tue, 28 February 2006 01:41  |
Eclipse User |
|
|
|
The choose bean button doesn't seem to do anything, I do notice when I
create a JSpinner object it appears, but using the choose bean from the
palette it just shows I can't click on the JSpinner. I'm not really sure
what you mean... but I'd love to add this to the palette if its possible.
|
|
|
Re: JSpinner not there? [message #612203 is a reply to message #119165] |
Tue, 28 February 2006 02:56  |
Eclipse User |
|
|
|
John wrote:
> The choose bean button doesn't seem to do anything, I do notice when I
> create a JSpinner object it appears, but using the choose bean from the
> palette it just shows I can't click on the JSpinner. I'm not really sure
> what you mean... but I'd love to add this to the palette if its possible.
John,
May be I don't understand your problem.
1. I click the Choose Bean button
2. The Choose Bean dialog appears and I write JSpinner
3. I click OK
4. I click over, for example, a JPanel and I have a JSpinner
into the JPanel.
I agree may be interesting to see finally the JSpinner in the palette.
Eclipse 3.2 supports JDK 6 but the VE palette is at 1.2 level...
Francesc Rosés
|
|
|
|
Powered by
FUDForum. Page generated in 0.03479 seconds