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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:30:01+00:00 2026-06-15T13:30:01+00:00

RESOLVED I’ve looked around for a while now and I can’t seem to figure

  • 0

RESOLVED

I’ve looked around for a while now and I can’t seem to figure out how to do this.

I have lots of components within my JFrame and I am able to resize my JFrame. When I resize the JFrame I want the internal components to resize along with the JFrame, but instead they stay exactly where they were when the GUI was first run.

How can I fix this problem? Is there a value I’m not setting somewhere or what?

Edit:
Also, I’m not using any layout manager.

getContentPane().setLayout(null);
  • 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-15T13:30:02+00:00Added an answer on June 15, 2026 at 1:30 pm

    You state:

    Edit: Also, I’m not using any layout manager. getContentPane().setLayout(null);

    That’s your problem. You should almost never use null layout. It is much easier to use and maintain a gui that uses layout managers in a smart way. Read the layout manager tutorials as they can help.

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

Sidebar

Related Questions

Update: RESOLVED. Hio, So I can't figure out why this error is ocurring in
While I have the problem itself seemingly resolved, I'm hoping someone can shed some
I resolved this issue myself. It turns out that the activation framework requires some
Please help me How I can resolved this problem. java.lang.IllegalArgumentException: already added: Ltwitter4j/Annotation; [2012-05-14
EDIT: This question is now resolved. I managed to create exactly what I needed,
RESOLVED P.S.Because I don't have enough reputation to answer my own question right now
Issue is resolved now... I have a simple web form where i need to
UPDATE: This is now resolved, see answer below. On one of my forms (in
Edit: I still have not resolved this issue. If anyone has advice I would
Now: resolved - no reproducible anymore For some specific application security, I have the

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.