Intellij SWING GUI Editor

Answered

Hi,

I am having trouble implementing a GUI design in the intellij editor I have prototyped. Here is the prototype:

The issue is that on the editor, I am using a JScrollPane and it appears on the editor that I have exceeded the space in which I am able to see and access the components I have created in the JScrollPane. Here is an example: 

You can see below that I have added another "BOTH" child panel inside the JScrolPane. It appears to be behind the extract button which is sibling to the scroll pane:

In the editor, I am not able to interact with the scroll on the JScrollPane and therefore cannot access the newly added pane that appears behind the extract button and below the already added child panes in the JScrollPane. It appears I can only access a limited amount of vertical space in my scroll pane on the editor. The only way I seem to be able to edit this newly added bottom pane is by removing panes above to make space in the editor for the bottom pane.

Here is the structure of my components: 

Please can someone advise how I can use the scroll or resize my editor so that I can access and edit an unlimited vertical space in my JScrollPane. 

Thanks for your help in advance! 

Joe

5 comments
Comment actions Permalink

Hello,

Seems currently it's not possible. Feel free to create feature request on YouTrack: https://youtrack.jetbrains.com/issues/IDEA

0
Comment actions Permalink

Hi Yaroslav, 

Thank you for your comment. I must admit that does seem a little ridiculous. I am surprised this has not been reported before but I guess there are alternative technologies when creating GUIs. 

Apart from creating the bottom elements first, are they any other alternative work arounds you can suggest?  

I will create a feature request. Thank you.

Kind regards,

Joe

0
Comment actions Permalink

Joe,

You may resize the whole panel, so scroll is not needed and use scroll from IDE editor 

0
Comment actions Permalink

By resizing the whole pane, do you mean editing the Maximum and Preferred size properties of the JScrollPane? Also does this mean I will need to also resize the parent panes of the JScrollPane?

Thanks

0
Comment actions Permalink

Yes, resize parent panel and JScrollPane if needed. Then restore the size.

0

Please sign in to leave a comment.