1. syntax error on addActionListener stackoverflow.com
|
2. error linking JRadioButton with TextField coderanch.com |
3. awt TextField nullPointerException error java-forums.orghi, it is my first post here. I am new learning how to make form and stuffs with awt. basically i did a form which save input from user to the text and i am now working on the reader to retrieve the info from the text back to the form for display. i was successfully done getting the info out ... |
4. JTextField Array Read Error java-forums.orgpublic void addfields() { JTextField tfserie[]=new JTextField[100]; tfserie[x] = new JTextField(15); tfserie[x].setText(serie.getText()); c.gridx =0; c.gridy = x; c.gridwidth = 2; c.fill = GridBagConstraints.HORIZONTAL; p.add(tfserie[x],c); JTextField tfeps[]=new JTextField[100]; tfeps[x] = new JTextField(5); tfeps[x].setText(eps.getText()); c.gridx =2; c.gridy = x; c.gridwidth = 1; c.fill = GridBagConstraints.HORIZONTAL; p.add(tfeps[x],c); String data = ""; for(int i=1;i<=x;i++) { data = data + tfserie[i].getText()+";"; <--------------------this 2lines is error data ... |
5. How do i set JTextField default to 0 without int error? forums.oracle.com |