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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:08:48+00:00 2026-05-26T06:08:48+00:00

I am trying to make application window with movable separator between left and right

  • 0

I am trying to make application window with movable separator between left and right pane.
On the left pane, I have a ListView. On the right pane, I have a VBox with some labels, entries, etc.
I have added HPaned container, added ListView to its left pane and VBox to its right pane.
Pretty simple.

And there goes the problem:

  1. I need to make right pane to save its size when user resizes the window. Although, it seems the only supported behavior is when left pane does so.

  2. I need to set a minimal width for right pane so it will not be too small if the user tries to resize it, or, cuz of first problem, just resizes the window to smaller size. I did not find any way to do that. Actually, I can use Window.SetGeometryHints() to add a minimal constraint for VBox on right pane, but is it the only way to do it? All these constraints make window being jerky when I am resizing it.

  • 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-26T06:08:49+00:00Added an answer on May 26, 2026 at 6:08 am

    Okay, after few experiments I found a solution for first problem.
    It is enough to call Pack1(widget, true, true) for left pane child, and Pack2(widget, false, false) for right pane child.

    Solution for second problem would be to add MinSize constraint for right pane child with Window.SetGeometryHints(), but it seems what the window becomes unshrinkable by user.

    If someone knows correct way to solve second problem, your help is very appreciated.

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

Sidebar

Related Questions

i trying to make a osx application that just have one window and it
I'm currently trying to make a small application that performs different duties. Right now
I am trying to make my application load hidden when windows loads. I have
I have my AIR application i.e MyAIRApplication ready. I am trying to make a
Hello everyone i need some help. I'm trying to make an application for mac
I have been trying to make my Mac application enter fullscreen now for a
I am trying to make a slideshow-like application in Java using NetBeans. I have
I'm trying to make an application that keeps an object model in sync with
I'm trying to make an application in which both the developer and the end
I am trying to make an application for drawing shapes on screen by touching

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.