package swimg; import java.awt.Container;
0 U- r" N' h: v) e4 @, z! V import javax.swing.JFrame;' g4 w( @* i1 w% k K
import javax.swing.JScrollPane;: V( I K3 @* w$ X% H
import javax.swing.JTable;4 Z9 ~2 f# Y2 _0 R6 u5 v( d" J
public class chart {
5 T1 I: P0 p2 G4 p3 H" V public static void main(String[] args) {; W3 ^( J8 C9 V7 e* V
JFrame frame=new JFrame("学生成就表格");
5 g5 h( [% i5 e1 l% Y8 j! n' D! y frame.setBounds(200,200,800,200);
+ f4 _9 D! w% h. X- _2 V Container c=frame.getContentPane();1 w5 G& D7 p% |/ ]) D9 L8 |
frame.setDefaultCloseoperation(JFrame.EXIT_ON_CLOSE);- u. Q' M9 _ N
frame.setVisible(true);# |! L+ Z/ c' ?, Q
Object tableDate[][]=new Object[3][8];! u, ^1 n. ~ [- I1 N
0 T; P3 c3 e5 ~$ z h) H7 B6 H5 t
for(int i=0;i |