SHARE
TWEET

Untitled

a guest Feb 20th, 2020 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void paint(Graphics g) {
  2.         super.paintComponents(g);
  3.         int sizeX = this.getWidth();
  4.         int sizeY = this.getHeight();
  5.  
  6.         // oben links soll Name stehen
  7.         g.setColor(Color.green);
  8.         g.setFont(f1);
  9.         g.drawString(" Dzhaner Ismail ", 25, 450);
  10.  
  11.         // Koordinatensystem erstellen
  12.         KoordinatenSystem koord = new KoordinatenSystem(g, sizeX, sizeY);
  13.         if (this.jButtonZeichneIsSelected) {
  14.             if(setKooeffizienten()==true) {
  15.             }
  16.             koord.paintGanzrationaleFunktion(g, sizeX, sizeY, a, b, c);
  17.         } else {
  18.             JOptionPane.showMessageDialog(null, "Ung├╝ltige Eingabe", "Fehlermeldung", JOptionPane.ERROR_MESSAGE);
  19.         }
  20.     }
  21.    
  22.  
  23.     private void jButtonZeichneActionPerformed(ActionEvent evt) {
  24.         jButtonZeichneIsSelected = true;
  25.         this.repaint();
  26.     }
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