Ixus See wrote:UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Hello Guys, i notice if I don't do this.. my UI will jumble up !!!
Ixus See wrote:Does it mean, my application UI might not look the same on a different platform?
SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
Sean Keane wrote:
Ixus See wrote:UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Hello Guys, i notice if I don't do this.. my UI will jumble up !!!
It is not clear what you mean by "jumble up". Can you give us more of a complete description of the problem you are experiencing?
Ixus See wrote:Does it mean, my application UI might not look the same on a different platform?
As a team lead I am sure you would recommend that your team members actually test their work, rather than relying on someone telling them it should work ?
Would your team test on different platforms? Maybe you have access to different platforms in work, so you could test on them? Or you could install a different platform on your own machine and test?
Ixus See wrote:Anyway the platform would be stated in the contract, this is to safe guard the company, so all my developers develop on the same platform.
SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
SCJA, OCPJP, OCMJD
Ixus See wrote:UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Hello Guys, i notice if I don't do this.. my UI will jumble up !!!
Does it mean, my application UI might not look the same on a different platform?
luck, db
There are no new questions, but there may be new answers.
Sean Keane wrote:
Ixus See wrote:Anyway the platform would be stated in the contract, this is to safe guard the company, so all my developers develop on the same platform.
If your company supports other platforms, then I am sure that your company will have other platforms that you can easily get access to and test on. I would suggest this as a first option.
Alternatively you could use something like cygwin. Or you could install a different platform on your machine - you could use a virtual machine on your own machine or you could create a separate partition to install the platform.
If you follow either of my recommendations above you should be able to answer your question "Does it mean, my application UI might not look the same on a different platform?". Would you not agree?
Alternatively, you could simply state in your options that you have no idea whether your application works on another platform because you did not test it.
Darryl Burke wrote:
Ixus See wrote:UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Hello Guys, i notice if I don't do this.. my UI will jumble up !!!
Does it mean, my application UI might not look the same on a different platform?
No, it means you haven't learned to use layout managers correctly.
http://download.oracle.com/javase/tutorial/uiswing/layout/index.html
And as this doesn't appear to have anything to do with Developer Certification (SCJD/OCMJD), I'm moving it to the GUIs forum.
Ixus See wrote:more over UI manager allows you to get the LOOK AND FEEL so as long the platform has the particular API installed, the UI should run flawlessly, that is the reason why I change from setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); to .setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
luck, db
There are no new questions, but there may be new answers.
Ixus See wrote:hmmm I doubt there is anything to do with Layout Manager, because it works if I set windows look and feel UI Manager.
Ixus See wrote:it has something to do with UIManager rather than Layout Manager.
luck, db
There are no new questions, but there may be new answers.
Ixus See wrote:For example in this case you ask me to test my application in different platform, which is absolutely unnecessary and time consuming and worst you make feel lousy when you question my team lead role.
SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
Darryl Burke wrote:did you go through the tutorial I linked?
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |