Hello Jan,

Working with:
java version "1.5.0_06", "1.4.2_09"
classpath (current directory the swximl-directory root, fetched from cvs or 
extracted source zip...): lib/j2h.jar:lib/jdom.jar:build/classes. The Jlfgr jar 
is missing, so the buttons of the control panel do not have icons... I did not 
mention that...

I did the same with the original swixml jar file from the website, it worked as 
well.

OS in all cases is linux, kernel 2.6.12-9-386.

It seems your problem lies somewhere else. Try stripping the classpath like I 
did.

List for Users of Carlsbad Cubes' Technologies and Products 
<Forum@carlsbadcubes.com> schrieb am 01.03.06 02:09:22:
> 
> 
> 
> Hello Frank,
> 
> my apologies for writing such a rude mail without beginning and ending. I
> somehow sent the mail before it was entirely complete.
> I do not use eclipse but JDK plus ant or JDK plus simple commands. I have
> runned your test program also. It is not a refresh problem.
> I also tried if it perhaps is a Look and Feel problem (that the border
> perhaps is surpressed when you use certain look and feels)
> but that is also not the case, because
>   1) switching LAF does not solve the problem
>   2) an other type of border, LineBorder, does work.
> 
> swixml.jpg shows cross platform look and feel with a call to
> JFrame.setDefaultLookAndFeelDecorated(true);
> swixml2.jpg shows the same thing using LineBorder(red) instead of
> MatteBorder(4,4,4,4,red) - that does work!
> 
> It really is strange and I just dont have an explanation.... nor why the
> MatteBorder does work at your computer, apparently. I wonder what JDK and OS
> you have used.
> 
> regards,
> Jan.
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of List for Users of
> Carlsbad Cubes' Technologies and Products
> Sent: zondag 26 februari 2006 19:03
> To: List for Users of Carlsbad Cubes' Technologies and Products
> Subject: Re: [Forum] problem with MatteBorder.
> 
> 
> Hello Mrs/Mr nobody,
> 
> I had no problem whatsoever running your xml-file. Border shows up and
> responds to changes of the insets (like, substituting all 4 with 8).
> 
> Be sure to get the correct xml file rendered and (if you are using
> Eclipse) refresh the project the files are in. Sometimes this causes
> strange "cache effects" I encountered as well...
> 
> I add a small test program which may ease the development. Place it in
> the swixml-source path at the correct place and the swixml-test.xml in
> your classpath as well.
> 
> Yours,
> 
> Frank Meissner
> 
> List for Users of Carlsbad Cubes' Technologies and Products schrieb:
> > If I run the gridbag example that is on the website (xml see below), I
> dont
> > get the red MatteBorder (in JDK 1.4 and JDK 1.5).
> > I compiled SwiXML in debug mode and even added a print statement in the
> > BorderConverter class, just before the border is actually created.
> >
> >       System.out.println("Invoking createxxxxBorder method");
> >       border = (Border) method.invoke( null, args );
> > (on line 149 of the BorderConverter class (swixml #144) ).
> >
> > The print line shows up, no exceptions show up, but I still dont see any
> > border. My OS is windows XP.
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <frame name="frame" size="500,300" title="Simple Complaint Dialog"
> > background="FFCCEE" layout="BorderLayout">
> >       <panel name="pnl" background="3399CC"
> border="MatteBorder(4,4,4,4,red)"
> > constraints="BorderLayout.CENTER" layout="GridBagLayout">
> >               <button name="btn1" text="Wonderful">
> >                       <gridbagconstraints id="gbc_1" insets="2,2,2,2"
> gridx="0" gridy="0"
> > ipadx="15" ipady="15" weightx="1" weighty="1"/>
> >               </button>
> >               <button name="btn2" text="World">
> >                       <gridbagconstraints use="gbc_1" gridx="1"/>
> >               </button>
> >               <button name="btn3" text="of">
> >
> >                       <gridbagconstraints insets="2,2,2,2" gridx="0"
> gridy="1" ipadx="0"
> > ipady="0" weightx="1.0" weighty="1.0"/>
> >               </button>
> >               <button name="btn4" text="Swing">
> >                       <gridbagconstraints insets="2,2,2,2" gridx="1"
> gridy="1" ipadx="0"
> > ipady="0" weightx="1.0" weighty="1.0"/>
> >               </button>
> >       </panel>
> > </frame>
> >
> >
> > _______________________________________________
> > Forum mailing list
> > Forum@carlsbadcubes.com
> > http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
> >
> 
> <hr>
> _______________________________________________
> Forum mailing list
> Forum@carlsbadcubes.com
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
> 



_______________________________________________
Forum mailing list
Forum@carlsbadcubes.com
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com

Reply via email to