Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need a substitute for XYLayout class in "com.borland.jbcl.layout" package  RSS feed

 
amedeo modigliani
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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.

thanks
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!