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
# 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?
# 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. (
# 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?
# 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?