Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Need info about swing layout

Posted on 1999-07-16
Medium Priority
Last Modified: 2012-05-04
Hi guys,

We are developing very complex GUI application using java. Lot of screens are being developed using swing null layout. I want to convert into a proper swing based layout ( like XYLayout comes with JBuilder). As we are planning to use pure swing based GUI, I don't want to use XYLayout. Do u know any place where I can find source for XYLayout-like lay out managers.Or do u know any tool which will convert this null layout to GridbagLayout. B'cos it is vry difficult to develop any screens using GridBagLayout directly. I would really appreciate ur help.  

Question by:maha
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1246285

 Hi Maha,

    I dont know whether my suggession is good or not.

    Go to JBuilder's java src directory , and check whether
    they have given the source file for XYLayout.
    If it's not there , it's class ( XYLayout.class )
    should be in one of the jar or zip file. Extract it ,
    decompile it and modify it according to your

 Sankar S.

Expert Comment

ID: 1246286
Have you looked at BoxLayout?

Expert Comment

ID: 1246287
there is a link on which points to a LayoutManager named XyLayout.
Maybe it can do what you want.

Author Comment

ID: 1246288
Thanx JFM,

Can u answer this question so that I would be able to give u points.


Accepted Solution

JFM earned 80 total points
ID: 1246289
there is a link on which points to a
LayoutManager named XyLayout.
Maybe it can do what you want.

Cheers, JFM.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question