resizing and relocating Dockable Window
Submitted by Friday, 18 July, 2008 - 07:51
on
Hello,
I am writing my first plugin. I need to resize and relocate my plugin window. How do I do this? Neither of these two below do what I want:
view.setLocation(x,y); // relocates main editor
view.getDockableWindowManager().getDockableWindow(SideViewPlugin.NAME).setLocation(x, y); // this moves the JPanel to x,y _within_ the Dockable Window.
What I want to do is to move and resize the whole plugin window. How do I accomplish that?
Thank you,
Maciej
I am writing my first plugin. I need to resize and relocate my plugin window. How do I do this? Neither of these two below do what I want:
view.setLocation(x,y); // relocates main editor
view.getDockableWindowManager().getDockableWindow(SideViewPlugin.NAME).setLocation(x, y); // this moves the JPanel to x,y _within_ the Dockable Window.
What I want to do is to move and resize the whole plugin window. How do I accomplish that?
Thank you,
Maciej