WYSIWYG?

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

WYSIWYG?

Postby tli » Fri Mar 04, 2005 8:19 am

I have code exported from VAJ. The look is not the same at all in Designer. Is there a setting I need to set? Or is it a bug?
Regards,

Tom
tli
 
Posts: 6
Joined: Mon Feb 28, 2005 11:19 am
Location: New York

Re: WYSIWYG?

Postby Eric Clayberg » Fri Mar 04, 2005 5:39 pm

tli wrote:I have code exported from VAJ. The look is not the same at all in Designer.

What do you mean by "the look is not the same"?

tli wrote:Is there a setting I need to set? Or is it a bug?

Without a test case, I have no way of knowing.
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

icon from resource bundle

Postby tli » Tue Mar 08, 2005 9:00 am

Two problems, one is related to our existing code obtaining icon image from resource bundle.

ivjNewButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/new.gif")));

I will send a sample code. Is there a way to set up icon using resource bundle from windowbuilderpro?

The other problem is the default size of the panel when open in design mode. I will send screen shot for it size problem.
[/img]
Regards,

Tom
tli
 
Posts: 6
Joined: Mon Feb 28, 2005 11:19 am
Location: New York

Re: icon from resource bundle

Postby Eric Clayberg » Mon Mar 14, 2005 6:01 pm

tli wrote:Two problems, one is related to our existing code obtaining icon image from resource bundle.

ivjNewButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/new.gif")));

I will send a sample code. Is there a way to set up icon using resource bundle from windowbuilderpro?

The other problem is the default size of the panel when open in design mode. I will send screen shot for it size problem.
[/img]

Just to follow up, the issue here was that the icons were not present in the project. Once they were added to the project, they were displayed in the design view.
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: Google [Bot] and 1 guest