...

View Full Version : Components Position



Xiang
10-18-2004, 03:17 PM
Dear sir,

Refers to java prgramming.
In my applet, I need a complicated layout design and I don't know what methods I can use to position my combo box and check box into the JApplet. Do you have any idea?

//Combo Box
JComboBox iMonth = new JComboBox();
iMonth.addItem("January");
iMonth.addItem("February");

//Check Box
JCheckBox cocktailBox = new JCheckBox("Cocktails", false);
JCheckBox dinnerBox = new JCheckBox("Dinner", false);
ButtonGroup dinnerGroup = new ButtonGroup();
dinnerGroup.add(cocktailBox);
dinnerGroup.add(dinnerBox);

Thanks

Xiang

fci
10-18-2004, 03:26 PM
hi, I was wondering, how come you have never replied to any of the threads you've started?

Spookster
10-18-2004, 04:12 PM
hi, I was wondering, how come you have never replied to any of the threads you've started?


I've asked and wondered that same thing in the past. Whoever it is never replies after initially creating the topic. I figure if they won't make the effort to reply/respond to questions we might have about their question then I won't make the effort answer their question.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum