-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7
-
None
-
sparc
-
solaris_10
The parentless dialog's Icon is not shown on the task bar on Solaris. One icon for the frame and other one for the parentless dialog. The icon is shown on the 'Alt + TAB' list for the parentless dialog. The same is working fine on Windows.
If comment the line d.setModalityType(Dialog.DEFAULT_MODALITY_TYPE);, then you can see 2 icons displayed on the task bar.
This bug is reproducible on 6.0 (tried with b104) and 7.0 latest builds.
Run this following test. If you don't see the 2 icons on Solaris then the bug is reproduced.
import javax.swing.*;
import java.awt.*;
public class FrameTest {
public static void main(String args[]) {
JFrame frame = new JFrame("Test");
frame.setSize(400, 300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
JDialog d = new JDialog((Window)null, "Test Dialog");
d.setModalityType(Dialog.DEFAULT_MODALITY_TYPE);
d.setSize(200, 300);
d.setVisible(true);
}
}
If comment the line d.setModalityType(Dialog.DEFAULT_MODALITY_TYPE);, then you can see 2 icons displayed on the task bar.
This bug is reproducible on 6.0 (tried with b104) and 7.0 latest builds.
Run this following test. If you don't see the 2 icons on Solaris then the bug is reproduced.
import javax.swing.*;
import java.awt.*;
public class FrameTest {
public static void main(String args[]) {
JFrame frame = new JFrame("Test");
frame.setSize(400, 300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
JDialog d = new JDialog((Window)null, "Test Dialog");
d.setModalityType(Dialog.DEFAULT_MODALITY_TYPE);
d.setSize(200, 300);
d.setVisible(true);
}
}
- duplicates
-
JDK-6355181 A single taskbar button for all Java windows when a modal dialog is shown, GNOME
-
- Closed
-