email@example.com wrote:I'm evaluating SWT/Swing designer 2.0.1 and I have one question. When I make changes on some Swing component every time Swing designer shows a window which reflects those changes and then those changes are posted to form in eclipse desing window. This window slows down creation of Swing forms because with every form change I waste a couple seconds while swing designer updates those changes. It is showed even if I change variable name of swing component. Can I tell Swing designer to stop showing this window?
Eric Clayberg wrote:Are you seeing that window fully on-screen or down in the lower-right corner? That window is used as the source of the images that appear within Designer, so you can't turn it off. With the default settings in effect, it should be almost entirely off screen.
firstname.lastname@example.org wrote:I see it fully on-screen about 1-2 seconds and after that my Eclipse app get focus. Time which those frame occupie is worse with puting more and more components on Swing from.
Eric Clayberg wrote:Where on the screen do you see it? How big is your display? Make sure that the "Use Swing Preview" option is turned off (Designer > General pref page).
Anonymous wrote:It depends what kind form I create. If I'm creating JFrame window has a normal size of that JFrame.
Anonymous wrote:I'm using Eclipse 3.0 for Linux. I installed Eclipse on Win98 and tried Swing Designer and didn't noticed this problem on Windows platform. On Windows I don't have a option "Use Swing Preview". So, this problem occur only on Linux GTK for me.
Eric Clayberg wrote:Anonymous wrote:It depends what kind form I create. If I'm creating JFrame window has a normal size of that JFrame.
Where on the screen does the window appear (upper-left corner, lower-right corner, somewhere else)? I'm not seeing what you are describing on my Linux system (one of the problems though is that various Linux distributions often work quite differently).Anonymous wrote:I'm using Eclipse 3.0 for Linux. I installed Eclipse on Win98 and tried Swing Designer and didn't noticed this problem on Windows platform. On Windows I don't have a option "Use Swing Preview". So, this problem occur only on Linux GTK for me.
The underlying problem is due to limitations in Eclipse/Linux that aren't present in Eclipse/Windows. Under Windows, the widget graphics can be created off screen. This does not work under Linux, so the preview graphics need to be created on the main display.
Anonymous wrote:Well that's OK. But, is this reason why creating of Swing forms became slower and slower while form complexity increasing?
bronek wrote:It is true - I have a form with SpringLayout, I have a JTabbedPane - and about 20 controls on each tab. After working about 20 minutes with the designer it slows down - and after clicking a component I have to wait 20 (twenty!!) seconds to se the component is choses, and to see it's properties. After changing a property (or moving a component) I wait up to 30 (thirty!) seconds so that I can work. It's horror !! When I restart Eclipse I have another 20 minutes of normal work, but every change done to a component slows down the Designer. Also - wersion 2.1.0 after some operations had 1.2 GB of memory taken by the javaw process. When I use copy/paste its even worse - I have to restart Eclipse sooner. So - my work looks like this - draw about 5 components, change their properties and restart eclipse.
bronek wrote:I just see nothing in stead of my form
bronek wrote:when I use borders (for example a titled border) on a panel where SpringLayout is - components on the panel behave very strange - when I try to move a component to a specicif place - it moves to another one
Users browsing this forum: Google [Bot] and 1 guest