Palette problem

Hi;

I try to add my calendar component (.jar) to my palette). Palette manager can detect the components in it but if I add them to palette they have an icon with "?". I cant add these component to my frame. What is the problem? (I have this preblem with other components from internet too)

http://img463.imageshack.us/img463/131/paletteln8.jpg

I use Netbeans or Java Studio Enterprise Ed. 8.1

Message was edited by:

Genomsaren

Message was edited by:

Genomsaren

[511 byte] By [Genomsarena] at [2007-11-27 8:00:03]
# 1

The components themselves work correctly otherwise, except that their icon is not displayed correctly. Is that right?

If so, one possibility is that perhaps the components are trying to load the images from the internet. Have you set your proxy in the ide? Are you able to access other internet resources from the ide (like tools | update center).

Also, are there any messages and/or exception stacktraces in the ide log file?

KarthikRa at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 2
it can access to internet without a problem :/ And I cant find the problem since yesterday:S
Genomsarena at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 3
Just in case the problem is due to some corruption of userdir, can you try running the ide with '-userdir <non_existant_dir>' option to run with a different userdir? http://blogs.sun.com/karthikr/entry/jse_directories
KarthikRa at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 4
:) sorry but how can I do that? I opened "cmd" on windows and then?
Genomsarena at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 5

- Open the command window.

- Move to the netbeans install directory's bin directory.

- Run './jstudio.exe -userdir "a_non_existent_dir" (Example: "./jstudio.exe -userdir "c:\temp\tempdir")

Alternatively you can right-click on the ide icon in the desktop, select properties and specify the '-userdir <dir>" as a parameter to the executable.

You can also edit the value of netbeans_default_userdir property in <ide_install_dir>/etc/*.conf file. (

KarthikRa at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 6
it doesnt work :( Netbeans doesnt show any icon but wizard gives no error. You cant see the new components on the palette. The default components are working very good. I did what you said but nothing changed :(
Genomsarena at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 7
I want to add this component: http://www.toedter.com/en/jcalendar/
Genomsarena at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 8

I downloaded the zip from http://www.toedter.com/en/jcalendar/ and installed jcalendar in my NetBeans 5.5 under Beans category. I am able to see the icon and drag it onto a jframe.

I then installed JDateChooser in Swing category and i am able to use it too.

Are you running under english locale? If not, can you try running the ide with "./netbeans.exe -locale en" parameter and see if you are able to work with the beans?

KarthikRa at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 9
it doesnt work :( I dont get it where the problem is :SMessage was edited by: Genomsaren
Genomsarena at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...
# 10

- Does http://www.toedter.com/en/jcalendar/ provide any standalone samples and do they run correctly outside of the ide? If so, then the problem could be the way the beans are handled by the ide.

- Just to confirm: Do you see any messages or stacktraces, either in the ide output window or in the ide log file, when you try to load the beans in the palette?

KarthikRa at 2007-7-12 19:41:57 > top of Java-index,Development Tools,Java Tools...