Help getting two things done with UI Designer

There are two things that i'd like to implement in my own form but i can't find a way to do it.

- A JSplitPane like the one found in the web application editor that has 3 little blue arrows over the separator that control it.

- A TextField just like the one found in the web application editor for the description. With the button that opens up the editor window.


Anyone knows how i can get any of these into my form ?

1 comment

- A JSplitPane like the one found in the web
application editor that has 3 little blue arrows over
the separator that control it.


This isn't a JSplitPane, it's IDEA's own Splitter. The simplest way to use it is to call GuiUtils.replaceJSplitPaneWithIDEASplitter in the constructor of your form.

- A TextField just like the one found in the web
application editor for the description. With the
button that opens up the editor window.


That's a TextFieldWithBrowseButton. In order to use it in the UI designer you have to add it manually to the palette. Then in the constructor of your form you have to call setButtonIcon to replace the default icon by your own.

0

Please sign in to leave a comment.