I can't add Java Components in to Palatte Manager.

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

I can't add Java Components in to Palatte Manager.

Postby Jedt3D » Sun Feb 11, 2007 4:11 am

Dear WBPro team
1. I have problem when I want to add a 3rd party components into Swing Designer via Palatte Manager.

1. Open Palatte Manager, click Add Beans from Archive.
2. Click 2nd [...] button. Browse to a 3rd party .jar file. My case is QuickTable (http://www.quicktable.org) and DiamondSuite (http://www.diamondedge.com).
3. Nothing show that it know the Beans at all.

I've tried the 1st [...] button. But it can't find my .jar file that have been added to my project as well.

At this time, I have to manually add it via [Add Entry] and browse it manually. It's work well.

2.
When I add QuickTable or other component to JFrame. Then click on the component and try to change anything in Properties panel. It made my eclipse freeze. i've try to use standard Swing component, it's freeze also.

What's the right way to do it? Not good since NetBeans 5.5 is do it smoothly.

My system :
eclipse 3.2.1 windows. +
- Code Pro Analytix, and PlusPak 4.6.0
- Windows Builder Pro 6.1.0
- Sun JDK 1.5.0_10
my eclipse.ini is
-vmargs
-Xms160m
-Xmx1024m
- No scan virus software in background. I've check for virus,spyware etc already.

:cry:

3. If I've to reinstall, reactivate all plugins. How can I save my eclipse Preference and all setting? I've config the preference so much and It'd be hell if I've to do it again. Any setting file that I can keep and use it with a new eclipse install?
Jedt3D
 
Posts: 12
Joined: Mon Mar 27, 2006 7:48 pm
Location: Bangkok

Postby Jedt3D » Wed Feb 14, 2007 12:09 am

Well...
The problem is specific to QuickTable component. It is the same with Jigloo too. But since other tool like NetBeans, JBuilder is working fine.
Is there any work around with WindowBuilder Pro?

:cry: :cry:
Jedt3D
 
Posts: 12
Joined: Mon Mar 27, 2006 7:48 pm
Location: Bangkok

Re: I can't add Java Components in to Palatte Manager.

Postby Eric Clayberg » Wed Feb 14, 2007 7:34 pm

Jedt3D wrote:I have problem when I want to add a 3rd party components into Swing Designer via Palette Manager.
1. Open Palette Manager, click Add Beans from Archive.
2. Click 2nd [...] button. Browse to a 3rd party .jar file. My case is QuickTable (http://www.quicktable.org) and DiamondSuite (http://www.diamondedge.com).
3. Nothing show that it know the Beans at all.

Both are providing non-standard jar files that java.util.jar.JarInputStream can't read. Even ignoring that problem, quicktable2swing11design.jar's manifest does not report that it contains any Java beans.

In the latest build, we will now scan defective / non-standard jar files manually if JarInputStream fails. That will allow us to find the manifest, but that does not help the case where the manifest itself does not declare any beans. To handle that we added an option to show all classes defined in the jar. You would then need to select the actual beans that you want to show up on the palette.

Jedt3D wrote:When I add QuickTable or other component to JFrame. Then click on the component and try to change anything in Properties panel. It made my eclipse freeze. I've try to use standard Swing component, it's freeze also. What's the right way to do it? Not good since NetBeans 5.5 is do it smoothly.

I don't know why that component would lock up the system. It might be doing something with threads that is incompatible with Eclipse and/or SWT. We'll need to analyze it in detail to see what the problem is.

Jedt3D wrote:If I've to reinstall, reactivate all plugins. How can I save my eclipse Preference and all setting? I've config the preference so much and It'd be hell if I've to do it again. Any setting file that I can keep and use it with a new eclipse install?

Have you tried using the Eclipse File > Export > General > Preferences option?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby Jedt3D » Thu Feb 15, 2007 8:32 am

Hello, Eric
Thank you very much for looking into this case.
Quicktable forum isn't have any answer for this case yet.

Update, in Visual Editor it can work and preview Quicktable without crash. May be it help to find out why and how to do. Since I'm a novice programmer I would like to help as much as I can. Just give me a direction to try/test something.

For the Adding beans to palatte manager, I can fix it now with the latest release of WBPro.
For the preference export, it's work very well. Thank you very much, Eric.

I've planned to continue my subscription for both CodePro, RCPDev, WindowBuilder Pro next month. I love them and I want to do my Java on Eclipse with these tools. So please take a look at this case. I can't make up my mind to work with VE or going to use NetBeans. (Not bad but just my "taste" of it).
Jedt3D
 
Posts: 12
Joined: Mon Mar 27, 2006 7:48 pm
Location: Bangkok

Postby Jedt3D » Thu Feb 15, 2007 12:00 pm

Dear Eric
I've contacted the developer of QuickTable already. They are willing to help you solve this problem as fast as they can ;-)
My post about this problem on QuickTable website is :

http://quicktable.org/discussion/cuteca ... thread=492

Please contact the developer and help him solve the problem. I'd send you a 1k of roses from Thailand to pass through this problem! :o
Jedt3D
 
Posts: 12
Joined: Mon Mar 27, 2006 7:48 pm
Location: Bangkok

Postby Eric Clayberg » Thu Feb 15, 2007 6:57 pm

Give this a try using the latest build.

The QuickTable DBTable widget had some very specific threading requirements that were different than any other Swing widgets we had seen. Once we anayzed it, we were able to create a work around that works with DBTable (and any similar widget).
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest