• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic