ok so i am trying to create a program but when i try set its bounds, i always get a small box each time...
am i doing something wrong, i have tried many different numbers for the bounds and it just doesn't want to work. What is a good size text area?Code:JTextField ip = new JTextField(); ip.setVisible(true); ip.setBounds(10,10,40,40); c.gridx=1; c.gridy=1; ip.requestFocus(); frame.add(panel); //Labels JLabel ipAdd = new JLabel("Internet Protocal"); //panel.add(ipAdd); panel.add(ip);




Reply With Quote