How can I add JSpinner, JSlider and JProgressBar etc. ?
Permanently deleted user
创建于
Hi, I'm trying UI Designer by studying the UIDesignerSample, and I can't find out and add JSpinner, JSlider.. into my form as the sample does. Any suggesion?
Hi, I'm trying UI Designer by studying the UIDesignerSample, and I can't find out and add JSpinner, JSlider.. into my form as the sample does. Any suggesion?
Thanks! XY
Since build 1030 it will be possible to customize component palette. $IDEA_HOME/palette directory will have XML file with custom (additional) components that appear in UI designer palette.
-- Vladimir Kondratyev Software Developer JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"
Yes, you have to create a new *.xml file in that directory (and create directory itself as it does not exist). It this moment there's no help that describes this issue in detail. As an example of xml's content please take a look at com/intellij/uiDesigner/default-palette.xml located at \lib\resources.jar.
Anton Katilin
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"XuYun" ]]> wrote in message news:31812318.1072404020361.JavaMail.itn@is.intellij.net...
Not found out this directory in build 1032, should I create it by myself?
Indeed the directory is /palette.
Anton Katilin
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Vladimir Kondratyev (JetBrains)" ]]> wrote in message news:bsen5p$s0d$1@is.intellij.net...
XuYun wrote:
Hi, I'm trying UI Designer by studying the UIDesignerSample, and I can't
find out and add JSpinner, JSlider.. into my form as the sample does. Any suggesion?
>
Thanks! XY
>
Since build 1030 it will be possible to customize component palette. $IDEA_HOME/palette directory will have XML file with custom (additional) components that appear in UI designer palette.
>
-- Vladimir Kondratyev Software Developer JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Adding_custom_components
Thanks
XuYun wrote:
Since build 1030 it will be possible to customize component palette.
$IDEA_HOME/palette directory will have XML file with custom (additional)
components that appear in UI designer palette.
--
Vladimir Kondratyev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Not found out this directory in build 1032, should I create it by myself?
Hi,
Yes, you have to create a new *.xml file in that directory (and create
directory itself as it does not exist).
It this moment there's no help that describes this issue in detail.
As an example of xml's content please take a look at
com/intellij/uiDesigner/default-palette.xml located at \lib\resources.jar. Anton Katilin Software Developer JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!" "XuYun" ]]> wrote in message
news:31812318.1072404020361.JavaMail.itn@is.intellij.net...
Hi,
Indeed the directory is /palette. Anton Katilin Software Developer JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!" "Vladimir Kondratyev (JetBrains)" ]]> wrote in message
news:bsen5p$s0d$1@is.intellij.net...
find out and add JSpinner, JSlider.. into my form as the sample does. Any
suggesion?
>
>
Hi,
Since 1030 there's no need to patch resources - please take a look at other
messages in this thread that describe the preferred way.
Anton Katilin
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:30238106.1072294946359.JavaMail.itn@is.intellij.net...
>
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Adding_custom_components
>
Thanks!
I will fix Guide on Twiki soon :)
"Anton Katilin" <anton@intellij.com> wrote in message
news:bsh9bs$qpj$1@is.intellij.net...
>
other
>
>
>
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Adding_custom_components
>
>
Thank you :)
Anton Katilin
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:bshbo2$akd$1@is.intellij.net...
>
>
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Adding_custom_components
>
>
Good means!
So, this it maybe configurable implementtaion for it soon? :)
Guide fixed,
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Customizing_component_toolbar
Thanks!