« Return to Thread: popup with a scrollbar

Re: popup with a scrollbar

by Tonny Kohar-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

On Wed, Jul 1, 2009 at 9:02 PM, ravulaha<ravulaha@...> wrote:
> I need a popup window with a scrollbar in my application. Is it possible to use the popup in netbeans that appears when I press "ctrl+space" in my code? If so, please tell me how.
>

This should be possible (although I haven't try it yet, because I
haven't use ide cluster, I am only use platform cluster)

> Any other idea to have a srollbar in a popup is also welcome.
>

Another idea, is to use JPanel with JScrollPane. and display that
panel as popup using javax.swing.PopupFactory.
note: I have used this approach in my project.

IMHO, if the implementantion is already provided by Netbeans, it is
good idea to reuse it, rather than reinvent the wheel. On my case
because I do not use ide cluster, so the implementation is not
available for me, therefore I must create my own

Cheers
Tonny Kohar
--
Sketsa SVG Editor
imagine, design, create ...
http://www.kiyut.com

 « Return to Thread: popup with a scrollbar