classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classpath compilation error in javax/swing/plaf/BorderUIResource.jav


From: Michael Koch
Subject: Re: Classpath compilation error in javax/swing/plaf/BorderUIResource.java
Date: Tue, 10 Jun 2003 17:14:30 +0200
User-agent: KMail/1.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 10. Juni 2003 16:59 schrieb Sascha Brawer:
> Stephen Crawley <address@hidden> wrote on Tue, 10 Jun 2003
> 23:38:45
>
> +1000:
> >   312.     return new CompoundBorder (outsideBorder,
> > insideBorder); <---------------------------------------------->
> > *** Error: No match was found for constructor
> >  "CompoundBorder(javax.swing.border.Border,
> > javax.swing.border.Border)".
> >
> >[...]
> >
> >In the 'head' revision of CompoundBorder.java, there is no two
> > parameter constructor.  [The revision is 1.3, and was last
> > updated on Tue Apr 30 21:37:27 2002 UTC by 'mark'.]
>
> The most current version of CompoundBorder.java seems to be 1.4;
> 2003/06/ 10 14:34:48;  author: mkoch.
>
> While it does have the lacking constructors, I noticed some funny
> things while looking at rev1.4 of
> javax/swing/border/CompoundBorder.java:
>
> * Why does CompoundBorder.isBorderOpaque() always return false?
> Sun's JavaDoc at [1] says: "Returns true if both the inside and
> outside borders are non-null and opaque; returns false otherwise."
>
> * The paintBorder method should paint the outside and inside
> borders at proper insets. Right now, it does not do anything.
>
> * The insets calculation is incorrect.
>
> * Finally, some methods are missing in comparision to [1].

The reason: Its just not implemented.

> Maybe the person who is currently working on Swing could fix those?
> I could do so as well, but I'm rather hesitating to hack into a
> file that somebody else is currently working on.

Feel free to send patches for this. I'm currently digging into some 
java.awt/gtk/xlib binding issues.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+5fXWWSOgCCdjSDsRAnDRAJ94J38XiIBkIVfPz+xy/SRnEHWSJgCgmmLD
HSIUhvMZvYRo9JXEOVu85IE=
=/Skz
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]