Biblioteca Java - Blame information for rev 3
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
3 | mihai | 1 | /* |
2 | * App.java | ||
3 | */ | ||
4 | package lab.scd.db.tableview; | ||
5 | |||
6 | import javax.swing.JFrame; | ||
7 | |||
8 | /** | ||
9 | * Class created by @author Mihai HULEA at Mar 10, 2005. | ||
10 | * | ||
11 | * This class is part of the laborator4_db project. | ||
12 | * | ||
13 | * Aplicatia exemplifica modul de contruire al unei aplicatii ce permite | ||
14 | * parcurgerea inregistrarilor unui tabel si afisarea acestora in cadrul | ||
15 | * unei interfete grafice. | ||
16 | * | ||
17 | * Este folosita o baza de date testdb ce contine tabelul stoc cu doua campuri: | ||
18 | * nume si pret. | ||
19 | * | ||
20 | */ | ||
21 | public class App { | ||
22 | |||
23 | |||
24 | public static void main(String[] args) throws Exception{ | ||
25 | StocTable stoc = new StocTable(); | ||
26 | JFrame frame = new JFrame(); | ||
27 | frame.getContentPane().add(new TableJPanel(stoc)); | ||
28 | frame.pack(); | ||
29 | frame.setVisible(true); | ||
30 | } | ||
31 | } |