Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8426959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:40:17+00:00 2026-06-10T04:40:17+00:00

I am migrating ‘Java Swing’ code from ‘Java Visual Cafe’ JDK1.2 to ‘Eclipse SDK6’.

  • 0

I am migrating ‘Java Swing’ code from ‘Java Visual Cafe’ JDK1.2 to ‘Eclipse SDK6’. In Visual Cafe it has code is like this:

public  Sample extends JPanel(){
    .....
    package com.symantec.itools.javax.swing.JButtonGroupPanel  bgAcc = new com.symantec.itools.javax.swing.JButtonGroupPanel();
    ....
    bgAcc.setBorder(tbAcc);  //tbAcc  is titledBorder component  type
    ..
    bgAcc.setBounds(0,108,400,76);
    ...
    bgAcc.add(bgLb);     // bgLb  is  JLabel  component type
    ..
    bgAcc.add(button1, new GridBagConstraints(...));
    ..
}

Can anyone suggest how I can replace this code in Eclipse SDK6? I am unable find these methods for ‘ButtonGroup’ in ‘Swing’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:40:19+00:00Added an answer on June 10, 2026 at 4:40 am

    I am not familiar wit the JButtonGroupPanel class, but those methods you use are all available on a regular JPanel as well.

    ButtonGroup is a completely different concept in Swing then a JPanel. A ButtonGroup is for example used to group a set of JRadioButtons, and makes sure that only one radio button in that group can be selected at the time. But a ButtonGroup is not a JComponent nor a Container, so of course you will not find methods like setBorder on it.

    Side-note: do not port those setBounds calls. Use a decent LayoutManager instead

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm just migrating my projects from Visual Studio to Eclipse, so I can build
I am migrating a scientific code from Java to C++. Please tell me: a)
I have been migrating from subversion to mercurial piecemeal and this has created a
After migrating my whole setup from Java 1.5 to 1.6 (J2EE, Tomcat) a couple
Migrating from Subversion to Git using svn2git (which internally uses git-svn) I'd like to
I'm migrating a site from mysql to PostgreSQL (which I really like so far)
I am migrating from Java to C++. It seems that C++ makes classes declaration
I am considering migrating from eclipse to vim for c++ development- I've recently rediscovered
I am migrating data from one database schema to another. The old schema has
Migrating a project from ASP.NET 1.1 to ASP.NET 2.0 and I keep hitting this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.