Find File/Path button in UI designer

How would you go about creating the square "..." button that is used throughout IDEA for locating paths and files from within the UI designer?

Thanks!

Todd Breiholz

4 comments
Comment actions Permalink

Todd Breiholz wrote:

How would you go about creating the square "..." button that is used throughout IDEA for locating paths and files from within the UI designer?

Thanks!

Todd Breiholz

This is not standard but propertary JetBrains' component.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Maxim

Thanks for the reply.

OK. I kind of figured that is the case. So the question becomes, Is there a way in the UI Designer to create a tiny little square button?

Thanks!

Todd Breiholz

0
Comment actions Permalink

Todd Breiholz wrote:

Maxim

Thanks for the reply.

OK. I kind of figured that is the case. So the question becomes, Is there a way in the UI Designer to create a tiny little square button?

Thanks!

Todd Breiholz

Just noticed our license allows you to use that component freely. Classes you're interested in called
TextFieldWithBrowseButton and it's base ComponentWithBrowseButton. Sources are avaliable in a plugin dev kit bundle
avaliable for download from www.jetbrains.com.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I just tried adding the TextFieldWithBrowseButton component to the UI Designer palette. I was able to add it, but when I place an instance of this component on a form, I see the error "Class com.intellij.openapi.ui.TextFieldWithBrowseButton cannot be instantiated" in the form outline.

I've confirmed that the correct jar files are in my project paths configuration.

Any help would be appreciated.

Todd Breiholz

0

Please sign in to leave a comment.