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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:37:21+00:00 2026-06-14T11:37:21+00:00

Back in my, ahem, Visual Basic programming days, I remember it was very easy

  • 0

Back in my, ahem, Visual Basic programming days, I remember it was very easy to create a multi-form program.

In the gui designer I could simply create as many forms as I wanted and then load them in my program where needed.

I’m having a very difficult time doing this in Java.

I started out using the Java FX Scene Builder but soon discovered there doesn’t seem to be good MDI support. So, back to Swing. But, again, I don’t see a simple way to design a multi form application.

I read somewhere that JDesktopPane was the way to go as it will allow you to have different internal frames, but there is no way, that I can see, to design multiple frames in the NetBeans gui designer.

You would think that you could hide an internal frame in the designer so you can layout another frame. While I can add multiple frames to my JDesktopPane, they all overlap each other making it impossible to design multiple frames.

Are there any tools available to do what I’m trying to do, or do I just need to bite the bullet and code the guis without the help of a designer?

In brief, I just want to create a simple application that displays three or four options on a home screen

  1. Enter new customer
  2. Search for existing customer
  3. Quick estimate

And depending on which the user selects, opens the appropriate form. It would seem that this would be a basic requirement for almost any program and I don’t understand why it seems like actually creating an application with multiple windows/forms was never thought of when developing the design/development tools. Thoughts? Suggestions?

  • 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-14T11:37:23+00:00Added an answer on June 14, 2026 at 11:37 am

    If you’re really keen on using the multi document interface (MDI) of the JDesktopPane, create each form in it’s own class form. Don’t drag them to the desktop. This will allow you to isolate them.

    (You can double click a internal frame and it should enter “isolation” mode, basically making it the only thing you can see)

    However, unless the windows are sharing information (ie you want to see the information in one window to change the information in another), I’d avoid it.

    A better solution might be to use a CardLayout which will allow you to switch between each form as you need.

    Again, I’d start by building your forms from something like a JPanel, individually, and when you’re ready, add them to your main form.

    I always encourage people who are coming into Swing anew to hand code their forms, it will give you a great appreciation for how to design forms and the power of the layout managers.

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

Sidebar

Related Questions

Back in my (limited) java programming days, I remember this nice feature where if
Back in the days before Visual Studio Web Server we would host our local
Back in the old days, when using Visual source safe, i used to share
Back in my C# days, I loved using a Visual Studio extension called GhostDoc.
Back in the days of 2.0 serialization I could create a serialized version of
Back in my C/C++ days, coding an infinite loop as while (true) felt more
Back in my days as a BeOS programmer, I read this article by Benoit
Back when I was learning HTML, I loved how easy it to build pages
I got back from the weekend to discover that somebody ****ahem**** had missed a
Back in my Delphi days, I wrote several screensavers - each was a single

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.