Ngày tải lên :
22/08/2012, 10:13
... gbc.fill=GridBagConstraints.HORIZONTAL; addComponent(cb4,3,2,1,1); gbc.fill=GridBagConstraints.HORIZONTAL; addComponent(tf,4,0,1,3); } public void addComponent (Component c, int row, int col, int nrow, ... Window Listener Các listener cho lớp Component hình 5.22: Component ComponentListener FocusListener KeyListener MouseListener MouseMotionLIstener Hình 5.22 Các Component 5.6 Thực đơn (menu) Ngôn ... gbc.fill=GridBagConstraints.BOTH; addComponent(ta,0,0,4,1); gbc.fill=GridBagConstraints.HORIZONTAL; addComponent(b1,0,1,1,1); gbc.fill=GridBagConstraints.HORIZONTAL; addComponent(b2,0,2,1,1); gbc.fill=GridBagConstraints.HORIZONTAL;...