Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Adding JScrollPanes around JLists
Adding JScrollPanes around JLists [message #5540] Wed, 26 November 2003 00:30 Go to next message
Danyel Fisher is currently offline Danyel FisherFriend
Messages: 6
Registered: July 2009
Junior Member
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 #5546 is a reply to message #5540] Wed, 26 November 2003 00:40 Go to previous messageGo to next message
Eclipse UserFriend
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 #5551 is a reply to message #5546] Wed, 26 November 2003 02:18 Go to previous messageGo to next message
Danyel Fisher is currently offline Danyel FisherFriend
Messages: 6
Registered: July 2009
Junior Member
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.
>>
>
Re: Adding JScrollPanes around JLists [message #5569 is a reply to message #5551] Wed, 26 November 2003 03:00 Go to previous message
Eclipse UserFriend
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.
>>>
>>
>
Re: Adding JScrollPanes around JLists [message #569255 is a reply to message #5540] Wed, 26 November 2003 00:40 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
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 #569291 is a reply to message #5546] Wed, 26 November 2003 02:18 Go to previous message
Danyel Fisher is currently offline Danyel FisherFriend
Messages: 6
Registered: July 2009
Junior Member
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.
>>
>
Re: Adding JScrollPanes around JLists [message #569415 is a reply to message #5551] Wed, 26 November 2003 03:00 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
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.
>>>
>>
>
Previous Topic:Dropping to inconsistent states
Next Topic:VE do not work with Eclipse fpr OSX
Goto Forum:
  


Current Time: Mon Dec 30 15:56:49 GMT 2024

Powered by FUDForum. Page generated in 0.03767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top