Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Read this code VE why not support it?
Read this code VE why not support it? [message #616807] Fri, 26 October 2007 06:33
Eclipse UserFriend
Originally posted by: caye5200.yahoo.com.cn

hello,

private JRadioButton[] jRBArray=null;

   

private void initialize() {

this.add(getJRadioButtonGroup(), null);

}



  public JRadioButton[] getJRadioButtonGroup(){



if(jRBArray==null)

{

jRBArray=new JRadioButton[2];

jRBArray[0]== new JRadioButton();

jRBArray[0]=.setBounds(new Rectangle(264, 118, 21, 21));

jRBArray[1]== new JRadioButton();

jRBArray[1]=.setBounds(new Rectangle(264, 168, 21, 21));

}

return jRBArray;

}

My Container extends Container and add following method ,look :


public void add(Component[] arg ,Object arg1)
{
for(int i=0;i<arg.length;i++)
{
this.add(arg[i], arg1);
}
}

VE why not support it?
Previous Topic:Read this code VE why not support it?
Next Topic:create a bunch of Button once?
Goto Forum:
  


Current Time: Tue Mar 19 02:55:11 GMT 2024

Powered by FUDForum. Page generated in 0.02556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top