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

  • SEARCH
  • Home
  • 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 8561487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:30:44+00:00 2026-06-11T16:30:44+00:00

well I need a few tips on which layout managers to use to divide

  • 0

well I need a few tips on which layout managers to use to divide a frame into two regions, let’s say on the left side of the frame a drawing jpanel would be inserted and on the right side of the frame I would create buttons and other stuff to control it. So what layout manager should I use and how should it look? Because last time I needed something like that I tried using box layout and then borderlayout, but I guess I didn’t know how to use it properly cause the result wasn’t good.

Can anyone help?

  • 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-11T16:30:45+00:00Added an answer on June 11, 2026 at 4:30 pm

    I think a JSplitPane is what you want and need.

    It does exactly what you want: split a frame in 2 independent areas in which you can do whatever you want.

    Since this is your only component, I think a FlowLayout for the parent frame would suffice.

    For more details see here: http://docs.oracle.com/javase/tutorial/uiswing/components/splitpane.html

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

Sidebar

Related Questions

I need to parse a continuous stream of well-formed XML elements, to which I
I have a few strings which I need to translate and display. Those strings
I have an excel spread sheet (well, hundreds of them) which I need importing
I have quite big data frame (few millions of records). I need to filter
I need to make changes to an in-use production database. Just adding a few
Well i need some help here i don't know how to solve this problem.
I understand very well the need for websites' front ends to be coded and
I'm a beginner in ruby and in programming as well and need help with
I don't know MySQL very well so I need a bit of help with
I need a list of any well known Linux applications that uses object detection

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.