|
Re: Adding JScrollPanes around JLists [message #5546 is a reply to message #5540] |
Wed, 26 November 2003 00:40 |
Eclipse User |
|
|
|
Originally posted by: jdm0532.nospam.cs.rit.edu
Yes, you should be able to do this, but there's not a combined palette
item like JTable on JScrollPane. Simply drop the JScrollPane first
(from the Swing Containers drawer) then the JList on top of that. It
might be easier to get the child relationship right if you drop the
JList onto the JScrollPane on the Java Beans Viewer.
- Jeff Myers
Danyel Fisher wrote:
> Is it possible, using VE, to place a JList inside a ScollPane? I'm sure
> one could hack the SDK to expose this, but I'm hesitant to get myself
> enmeshed in yet more code. But I'd hope to finish setting this up as
> visually as possible.
>
|
|
|
|
Re: Adding JScrollPanes around JLists [message #5569 is a reply to message #5551] |
Wed, 26 November 2003 03:00 |
Eclipse User |
|
|
|
Originally posted by: jdm0532.nospam.cs.rit.edu
The problems you're having with manipulating the combined object are
most likely occurring because you have the JList selected rather than
the JScrollPane. It's impossible to select the JScrollPane on the
canvas surface. You'll have to select the scroll pane on the Java Beans
Viewer, then perform the resize/align actions without losing the focus
on it on the canvas.
- Jeff Myers
Danyel Fisher wrote:
> Got it, thanks for the help.
>
> It's worth noting that the combined object seems harder to manipulate
> than the individual objects--it doesn't offer resize corners, and can't
> be aligned.
>
> Danyel
>
> Jeff Myers wrote:
>
>> Yes, you should be able to do this, but there's not a combined palette
>> item like JTable on JScrollPane. Simply drop the JScrollPane first
>> (from the Swing Containers drawer) then the JList on top of that. It
>> might be easier to get the child relationship right if you drop the
>> JList onto the JScrollPane on the Java Beans Viewer.
>>
>> - Jeff Myers
>>
>> Danyel Fisher wrote:
>>
>>> Is it possible, using VE, to place a JList inside a ScollPane? I'm
>>> sure one could hack the SDK to expose this, but I'm hesitant to get
>>> myself enmeshed in yet more code. But I'd hope to finish setting this
>>> up as visually as possible.
>>>
>>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03767 seconds