[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Swing question
From: |
Roman Kennke |
Subject: |
Re: Swing question |
Date: |
Sun, 05 Jun 2005 21:54:03 +0200 |
Hi,
> I was looking through the JAPI results for Swing and came across this
> oddity:
>
> class javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout:
> public in jdk14, but protected in classpath
>
>
> Suns' javadoc says this:
>
> This inner class is marked "public" due to a compiler bug. This class
> should be treated as a "protected" inner class.
>
> So, what should we do?
>
> For source compatibility we ought to mark these classes public and add
> an @specnote to the javadoc.
That's the correct way IMO, and what we do in other cases too.
/Roman