39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
package org.hwo.pulscounter.ui;
|
|
|
|
import java.awt.BorderLayout;
|
|
import java.awt.EventQueue;
|
|
|
|
import javax.swing.JFrame;
|
|
import javax.swing.JPanel;
|
|
import javax.swing.border.EmptyBorder;
|
|
import javax.swing.JLabel;
|
|
import java.awt.Dialog.ModalExclusionType;
|
|
import java.awt.Window.Type;
|
|
import java.awt.Font;
|
|
import javax.swing.SwingConstants;
|
|
|
|
public class ShutdownNotification extends JFrame {
|
|
|
|
private JPanel contentPane;
|
|
|
|
/**
|
|
* Create the frame.
|
|
*/
|
|
public ShutdownNotification() {
|
|
setModalExclusionType(ModalExclusionType.APPLICATION_EXCLUDE);
|
|
setTitle("Synolo-Log Software wird beendet");
|
|
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
|
setBounds(100, 100, 770, 162);
|
|
contentPane = new JPanel();
|
|
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
|
contentPane.setLayout(new BorderLayout(0, 0));
|
|
setContentPane(contentPane);
|
|
|
|
JLabel lblEinenMomentBittedie = new JLabel("<html>Einen Moment bitte.<br/>Die Synolo-Log Software wartet noch auf die Fertigstellung von Hintergrunddiensten...</html>");
|
|
lblEinenMomentBittedie.setHorizontalAlignment(SwingConstants.CENTER);
|
|
lblEinenMomentBittedie.setFont(new Font("DejaVu Sans", Font.BOLD | Font.ITALIC, 14));
|
|
contentPane.add(lblEinenMomentBittedie, BorderLayout.CENTER);
|
|
}
|
|
|
|
}
|