Thread View: borland.public.jbuilder.java.swing
7 messages
7 total messages
Started by Nedved
Thu, 26 May 2005 08:59
GUI appears differently
Author: Nedved
Date: Thu, 26 May 2005 08:59
Date: Thu, 26 May 2005 08:59
6 lines
1203 bytes
1203 bytes
Hi, i have written a GUI in jbuilder.However, when i am running the jar file after deployment, the GUI appears different in JDK1.5, compared with what it is in JbuilderX.The main difference is the size of some components....would you please kindly help me on this? Thanks
Re: GUI appears differently
Author: John McGrath [TeamB]
Date: Thu, 26 May 2005 12:58
Date: Thu, 26 May 2005 12:58
20 lines
1708 bytes
1708 bytes
On 5/26/2005 at 4:59:35 AM, Nedved wrote:
> i have written a GUI in jbuilder.However, when i am running the jar
> file after deployment, the GUI appears different in JDK1.5, compared
> with what it is in JbuilderX.The main difference is the size of some
> components....would you please kindly help me on this?
What help are you looking for? The sizes of GUI elements may vary from
one environment to another. That is the way of the world. That is why we
use layout managers to position and size components. You are using a
layout manager, right? And not XYLayout, right?
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: GUI appears differently
Author: Lori M Olson [TeamB]
Date: Thu, 26 May 2005 14:51
Date: Thu, 26 May 2005 14:51
37 lines
2119 bytes
2119 bytes
Nedved wrote:
> Hi,
> i have written a GUI in jbuilder.However, when i am running the jar file
> after deployment, the GUI appears different in JDK1.5, compared with what it
> is in JbuilderX.The main difference is the size of some components....would
> you please kindly help me on this?
> Thanks
>
>
JBX uses JDK 1.4. Now you are running JDK 1.5. Did you even look at
the release notes for JDK 1.5?
http://java.sun.com/j2se/1.5.0/relnotes.html
On the page above, find "look and feel". The default look and feel
changed in JDK 1.5 from Metal to something called Ocean. The relevent
paragraph also tells you how to change it back.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: GUI appears differently
Author: Nedved
Date: Fri, 27 May 2005 00:39
Date: Fri, 27 May 2005 00:39
45 lines
2470 bytes
2470 bytes
hi thanks for your reply,actually i am using JDK1.5 as the JVM of Jbuilder(by using a plug-in).it is a bit strange the size changes when i am running under the pure JDK.5 instead of the JDK1.5 in Jbuilder "Lori M Olson [TeamB]" <javadragon@techie.com> wrote in message news:4295e27a$1@newsgroups.borland.com... > Nedved wrote: >> Hi, >> i have written a GUI in jbuilder.However, when i am running the jar file >> after deployment, the GUI appears different in JDK1.5, compared with what >> it is in JbuilderX.The main difference is the size of some >> components....would you please kindly help me on this? >> Thanks > > JBX uses JDK 1.4. Now you are running JDK 1.5. Did you even look at the > release notes for JDK 1.5? > > http://java.sun.com/j2se/1.5.0/relnotes.html > > On the page above, find "look and feel". The default look and feel > changed in JDK 1.5 from Metal to something called Ocean. The relevent > paragraph also tells you how to change it back. > > -- > > Regards, > > Lori Olson [TeamB] > > ------------ > > Save yourself, and everyone else, some time and search the > newsgroups and the FAQ-O-Matic before posting your next > question. > > Google Advanced Newsgroup Search > http://www.google.ca/advanced_group_search > Other Newsgroup Searches: > http://www.borland.com/newsgroups/ngsearch.html > Joi Ellis's FAQ-O-Matic: > http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: GUI appears differently
Author: Nedved
Date: Fri, 27 May 2005 00:41
Date: Fri, 27 May 2005 00:41
28 lines
2086 bytes
2086 bytes
hi Thanks. Yeah , i will try the XYLayout :) 3ks again "John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message news:xn0e2pctx17nxul003@newsgroups.borland.com... > On 5/26/2005 at 4:59:35 AM, Nedved wrote: > >> i have written a GUI in jbuilder.However, when i am running the jar >> file after deployment, the GUI appears different in JDK1.5, compared >> with what it is in JbuilderX.The main difference is the size of some >> components....would you please kindly help me on this? > > What help are you looking for? The sizes of GUI elements may vary from > one environment to another. That is the way of the world. That is why we > use layout managers to position and size components. You are using a > layout manager, right? And not XYLayout, right? > > -- > Regards, > > John McGrath [TeamB] > > --------------------------------------------------- > Before sending me e-mail, please read: > http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: GUI appears differently
Author: Lori M Olson [TeamB]
Date: Fri, 27 May 2005 02:54
Date: Fri, 27 May 2005 02:54
30 lines
1938 bytes
1938 bytes
Nedved wrote:
> hi
> thanks for your reply,actually i am using JDK1.5 as the JVM of Jbuilder(by
> using a plug-in).it is a bit strange the size changes when i am running
> under the pure JDK.5 instead of the JDK1.5 in Jbuilder
>
>
Ah, well that's a whole different thing. JBuilder is hosted on JDK 1.4.
You will not get a perfect design emulation for JDK 1.5 until JBuilder
is hosted on JDK 1.5.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: GUI appears differently
Author: Paul Nichols (TeamB)
Date: Sun, 29 May 2005 16:59
Date: Sun, 29 May 2005 16:59
10 lines
1203 bytes
1203 bytes
Nedved wrote: > hi > Thanks. > Yeah , i will try the XYLayout :) > 3ks again > > Please reread!! John is saying DO NOT USE XYLayout.. You should be using GridBagLayout coupled with Nested Panels. XY will always fail you.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads