Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    Malaysia
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Components Position

    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

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi, I was wondering, how come you have never replied to any of the threads you've started?

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Quote Originally Posted by fci
    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.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •