Chi vuol essere informatico - Record.java
Cerca
 











Record.java

Caricato da: Bonny
Scarica il programma completo

  1. package quizzone;
  2.  
  3. import java.awt.*;
  4. import javax.swing.*;
  5.  
  6. public class Record extends JFrame {
  7.  
  8.     public Record() {
  9.  
  10.         super("Classifica top 10");
  11.         setBounds(300, 200, 50, 50);
  12.         //this.setLayout(new FlowLayout());
  13.         //this.setPreferredSize(new Dimension(465, 225));
  14.         setResizable(false);
  15.         this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  16.         Jdb dbtable = new Jdb();
  17.         JPanel p = dbtable.visualizza();
  18.         p.setBackground(Color.orange);
  19.         this.getContentPane().add(p, "Center");
  20.         setVisible(true);
  21.         pack();
  22.  
  23.     }
  24. }
 

Creative Commons License
Il layout di questo sito è concesso sotto licenza Creative Commons.
Per maggiori informazioni sulle licenze dei contenuti del sito, clicca.