S
Superboer
Hello All,
sorry for my ignorance, however why does this:
==================================
import javax.swing.*;
class x{
public static void main (String[] args) {
JPanel j = new JPanel(false);
JTextField jtf = new JTextField("nr");
for (int i = 0 ; i < 10; i++){
j.add(jtf);
}
System.out.println("have added:"+j.getComponentCount()+": to
JPanel...");
}
}
==================================
yield one. ???
And yes i do want to add X times the same object, not X times a new
object....
I can not find a clue in the manual.
Thanks
Superboer.
way fast=http://www.clipjes.nl/clip/nederlands/n/normaal_-
_oerend_hard.html
sorry for my ignorance, however why does this:
==================================
import javax.swing.*;
class x{
public static void main (String[] args) {
JPanel j = new JPanel(false);
JTextField jtf = new JTextField("nr");
for (int i = 0 ; i < 10; i++){
j.add(jtf);
}
System.out.println("have added:"+j.getComponentCount()+": to
JPanel...");
}
}
==================================
yield one. ???
And yes i do want to add X times the same object, not X times a new
object....
I can not find a clue in the manual.
Thanks
Superboer.
way fast=http://www.clipjes.nl/clip/nederlands/n/normaal_-
_oerend_hard.html