Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Problems in Solaris Platform testing . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Problems in Solaris Platform testing ." Watch "Problems in Solaris Platform testing ." New topic

Problems in Solaris Platform testing .

Zhou Can
Ranch Hand

Joined: Sep 12, 2002
Posts: 34
Hello , everybody . I meet this problem when i test my assignment in Solaris platform :
1: the position is not set as what i want .
2: the components is black after some other program in front of it .
But , these problems have not appeared in Windows palteform . Could u tell me why . Thanks .
BTW , this is my codes to show the JDialog :
class MyDialog extends JDialog{
public void showDialog(){
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = getSize();
if (frameSize.height > screenSize.height) {
frameSize.height = screenSize.height;
if (frameSize.width > screenSize.width) {
frameSize.width = screenSize.width;
setLocation((screenSize.width - frameSize.width)/2, (screenSize.height - frameSize.height)/2);

SwingUtilities.invokeLater(new Runnable(){
public void run(){
I agree. Here's the link:
subject: Problems in Solaris Platform testing .