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 673407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:35:32+00:00 2026-05-14T00:35:32+00:00

Please help me create my own custom layout, container, component, layout manager… Example: Containers

  • 0

Please help me create my own custom layout, container, component, layout manager…
Example:
Containers and Layout Managers

  • Create a window frame.
  • Nest panels within a frame for better layout control.
  • Create and display buttons in a panel.
  • List two component attributes that are controlled by a layout manager.
  • Set the layout manager for a container.
  • Place components in a panel using BorderLayout, GridLayout, and FlowLayout.
  • Name one advantage of each of the layout managers.
  • Create panels with titles.

i was search on google but can’t find any that match my requirement

Thanks for your help
Edit: I was found with keyword “Open Source UI”

Updated: 31, Oct 2016
I would like to updated some information to make it clearly for someone who concern. Back in 6 years ago what i want to know is how to build “UI Framework” from beginning.

If you have interesting like me i would like recommend Android UI Framework is good start because of open source and well document. Enjoy deep dive in to legacy code 🙂 Good luck

  • 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-05-14T00:35:33+00:00Added an answer on May 14, 2026 at 12:35 am

    Create a window frame

    new JFrame();
    

    Nest panels within a frame for better layout control

    final JFrame jframe = new JFrame();
    final JPanel innerOne = new JPanel();
    jframe.add(innerOne);
    innerOne.add(otherComponents);
    

    Create and display buttons in a panel

    innerOne.add(new JButton("Hello World!"));
    

    List two component attributes that are controlled by a layout manager

    Obviously check out JavaDoc of BorderLayout: BorderLayout.NORTH and SOUTH

    Set the layout manager for a container

    innerOne.setLayout(...);
    

    Place components in a panel using BorderLayout, …

    Just apply the layout, and add providing the arguments for the LayoutManager:

    innerOne.setLayout(new BorderLayout());
    innerOne.add(..., BorderLayout.NORTH);
    

    Name one advantage of each of the layoutmanager.

    Check out the JavaDoc’s. They are really helpful in these situations.

    Create panels with titles.

    innerOne.setBorder(new TitledBorder("Hello World"));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please help me with using the DrScheme built-in function filter. create a function hello
Please help me finding where I have made mistake? delimiter // CREATE FUNCTION `count_photos_in_gallery`(`tmp_gallery_id`
This is my first android project so please help I am trying to create
can someone please help me out? I'm trying to create an input dynamically with
Please help me to find out error in my SQL query. I have created
Please help me solve my big problem. in my on-line shopping project i created
I need some help to get this right, please. I have created an iPad
Please help me somebody to convert unicodestring into string This is how i am
Please help me with this update query. I COMPLETELY understand how redundant this is
Please help me to resolve the following problem: First of all, I have one

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.