hi all,
 
im currently trying to create a custom u/i panel with various images on. those images are coming from an implementation i wrote for component. for some reason the sizes of these images are going crazy. when i run the program its like the components are cut in half on the yAxis and the xAxis and this happens only for the second or more components i create. the first look ok...
 
im attaching my code which contains some ref to jpg .. you can replace these with any ..
 
as far s my hierarchy goes:
    - create frame (flow layout)
    - create panel (Shop2DLayout-> code included)
    - add an image button to that panel ( code included )
    - wrap everything in CustomComponent (main class )
 
i would really appreciate any help.. im stuck on this matter far too long
 
Ben Arbel
Comsoft Technologies, Inc.
[EMAIL PROTECTED]
ICQ: 86004063

CustomComponent.java

Reply via email to