SHARE
TWEET

Untitled

a guest May 24th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import javax.swing.*;
  2. import java.awt.*;
  3. import java.awt.event.*;
  4. /**
  5.  * Beschreiben Sie hier die Klasse EinButton.
  6.  *
  7.  * @author (Ihr Name)
  8.  * @version (eine Versionsnummer oder ein Datum)
  9.  */
  10. public class EinButton extends JFrame
  11. {
  12.     private JButton button1;
  13.     private JPanel panelButton;
  14.     private JLabel oben;
  15.     private JLabel anzeige;
  16.  
  17.     public EinButton()
  18.     {
  19.         super("EinButton");
  20.         setLocation(300, 300);
  21.         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  22.         button1 = new JButton("Button 1");
  23.        
  24.     }
  25.  
  26.    
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top