How to display a window on top with Java ?
- by Frank
I have the following code to display a message :
JLabel A_Label=new JLabel("Updating channels ...");
A_Label.setFont(new Font("Times New Roman",0,16));
A_Label.setForeground(Color.BLUE);
A_Label.setHorizontalAlignment(SwingConstants.CENTER);
JOptionPane pane=new JOptionPane(A_Label);
Object[] options=new String[]{"OK"};
pane.setOptions(options);…