Using Custom components in IntelliJ IDEA
Hi all,
I wanna use some costom swing components.As am using GUI designer,i cant create objects for custom swing class and use it.So i followed IDEA's help which says like this
-
1)Install your UI beans library(ies) to the IDEA lib folder
2)Create a special palette descriptor file
3)Restart IDEA, set the Additional component palette option to the a new value that will appear in the list, then start IDEA again.
-
I have followed exactly what the HELP said.But i did'nt get my custom component in toolbar.My component is JDateField.and i have grouped it in MyBeans.But no group named MyBeans is appearing in toolbar.I have set the Additional component palette option to the a new value,that is palette.then restarted IDEA.But no component is displaying.
I am adding the palette.xml file with this.Plz have a look on it.
here's palette.xml,
-
]]>
-
Thx in adv,
Tom
Please sign in to leave a comment.
Anybody from IntelliJ just have a look
Hi,
Do you use IDEA 4.5? If so, please note that the Help is outdated - palettes
are configured via UI (IDE Settings | GUI Designer | Palette), and there's
no need to edit palette descriptor file anymore.
--
Anton Katilin
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure"
"Tomy" <tomcruise9090@yahoo.com> wrote in message
news:28579314.1089545447580.JavaMail.itn@is.intellij.net...
>
create objects for custom swing class and use it.So i followed IDEA's help
which says like this
>
>
value that will appear in the list, then start IDEA again.
>
component in toolbar.My component is JDateField.and i have grouped it in
MyBeans.But no group named MyBeans is appearing in toolbar.I have set the
Additional component palette option to the a new value,that is palette.then
restarted IDEA.But no component is displaying.
>
>
>
>
>
>
>
fill="1"/>
>
>
>
>
>
>
>
>
>Do you use IDEA 4.5? If so, please note that the Help is >outdated - palettes
>are configured via UI (IDE Settings | GUI Designer | >Palette), and there's
>no need to edit palette descriptor file anymore.
I am using IDEA 4.0.So what i can do with it?.
Just care,
Thanks,
Tom
Tomy wrote:
>>Do you use IDEA 4.5? If so, please note that the Help is >outdated - palettes
>>are configured via UI (IDE Settings | GUI Designer | >Palette), and there's
>>no need to edit palette descriptor file anymore.
I suspect the easiest way would way a few days before 4.5 release or download RC from www.intellij.net/eap :)
Upgrade from 4.0 to 4.5 will be free of charge anyway.
--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"