need a substitute for XYLayout class in "com.borland.jbcl.layout" package
posted 11 years ago
I have a java application code written in the JBuilder. Now I want to run the code in Eclipse. Problem is with the the package com.borland.jbcl.layout. the code uses XYLayout class to set the coordinate of the GUI component. could someone tell me the substitution for class XYLayout from the com.borland.jbcl.layout package in the javax.swing package.
You can attempt to find the XYLayout class in a JAR file that comes with JBuilder and import that JAR into your eclipse project.
If I remember correctly XYLayout is very similiar to using null layout - except that I think it sizes things correctly... if so, then you could replace XYLayout with null layout and call setBounds() on all your components to size them and place them correctly.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.