On Thu, 2006-05-04 at 15:14 +0200, Roman Kennke wrote: > I noticed that in AbstractButton we have two new methods since 1.5: > addImp() and setLayout(). After playing around with them I figured that > addImpl() installs an OverlayLayout, but only in the case when the > client app hasn't installed a custom layout before (this is detected in > setLayout). > > And yes - I have seen applications that add components to JButtons. > > 2006-05-04 Roman Kennke <[EMAIL PROTECTED]> > > * javax/swing/AbstractButton.java > (addImpl): New method. Installs an OverlayLayout if no > other layout has been installed before. > (setLayout): New method. Detect if a client app installs a > custom > layout. > > /Roman
Committed to the release branch. -- Andrew :-) Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments. See http://www.fsf.org/philosophy/no-word-attachments.html If you use Microsoft Office, support movement towards the end of vendor lock-in: http://opendocumentfellowship.org/petition/ "Value your freedom, or you will lose it, teaches history. `Don't bother us with politics' respond those who don't want to learn." -- Richard Stallman Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html public class gcj extends Freedom implements Java { ... }
signature.asc
Description: This is a digitally signed message part
