, java/swing... - , , , , :
public class FullScreen extends JWindow {
public FullScreen()
{
getContentPane().add(new JLabel("A JFrame Kiosk"), BorderLayout.NORTH);
JButton closeButton = new JButton("Close");
closeButton.addActionListener( new ActionListener()
{
public void actionPerformed( ActionEvent ae )
{
System.out.println("Close button Pressed");
FullScreen.this.setVisible(false);
System.exit(0);
}
});
getContentPane().add(closeButton, BorderLayout.CENTER);
}
public static void main(String[] args) throws Exception {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
GraphicsEnvironment.
getLocalGraphicsEnvironment().
getDefaultScreenDevice().
setFullScreenWindow(new FullScreen());
}
});
}
}
Henrik