1
1
/*
2
- * Copyright (c) 1995, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1995, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -305,7 +305,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
305
305
volatile Font font ;
306
306
307
307
/**
308
- * The font which the peer is currently using.
308
+ * @serial The font which the peer is currently using.
309
309
* ({@code null} if no peer exists.)
310
310
*/
311
311
Font peerFont ;
@@ -508,7 +508,7 @@ static class AWTTreeLock {}
508
508
Dimension minSize ;
509
509
510
510
/**
511
- * Whether or not setMinimumSize has been invoked with a non-null value.
511
+ * @serial Whether or not setMinimumSize has been invoked with a non-null value.
512
512
*/
513
513
boolean minSizeSet ;
514
514
@@ -521,7 +521,7 @@ static class AWTTreeLock {}
521
521
Dimension prefSize ;
522
522
523
523
/**
524
- * Whether or not setPreferredSize has been invoked with a non-null value.
524
+ * @serial Whether or not setPreferredSize has been invoked with a non-null value.
525
525
*/
526
526
boolean prefSizeSet ;
527
527
@@ -533,7 +533,7 @@ static class AWTTreeLock {}
533
533
Dimension maxSize ;
534
534
535
535
/**
536
- * Whether or not setMaximumSize has been invoked with a non-null value.
536
+ * @serial Whether or not setMaximumSize has been invoked with a non-null value.
537
537
*/
538
538
boolean maxSizeSet ;
539
539
@@ -698,12 +698,12 @@ Object getObjectLock() {
698
698
}
699
699
700
700
/**
701
- * Whether the component is packed or not;
701
+ * @serial Whether the component is packed or not;
702
702
*/
703
703
boolean isPacked = false ;
704
704
705
705
/**
706
- * Pseudoparameter for direct Geometry API (setLocation, setBounds setSize
706
+ * @serial Pseudoparameter for direct Geometry API (setLocation, setBounds setSize
707
707
* to signal setBounds what's changing. Should be used under TreeLock.
708
708
* This is only needed due to the inability to change the cross-calling
709
709
* order of public and deprecated methods.
@@ -8290,7 +8290,7 @@ public boolean isFocusOwner() {
8290
8290
}
8291
8291
8292
8292
/**
8293
- * Used to disallow auto-focus-transfer on disposal of the focus owner
8293
+ * @serial Used to disallow auto-focus-transfer on disposal of the focus owner
8294
8294
* in the process of disposing its parent container.
8295
8295
*/
8296
8296
private boolean autoFocusTransferOnDisposal = true ;
@@ -9234,6 +9234,7 @@ Window getContainingWindow() {
9234
9234
9235
9235
/**
9236
9236
* The {@code AccessibleContext} associated with this {@code Component}.
9237
+ * @serial
9237
9238
*/
9238
9239
@ SuppressWarnings ("serial" ) // Not statically typed as Serializable
9239
9240
protected AccessibleContext accessibleContext = null ;
@@ -9290,13 +9291,15 @@ protected AccessibleAWTComponent() {
9290
9291
/**
9291
9292
* A component listener to track show/hide/resize events
9292
9293
* and convert them to PropertyChange events.
9294
+ * @serial
9293
9295
*/
9294
9296
@ SuppressWarnings ("serial" ) // Not statically typed as Serializable
9295
9297
protected ComponentListener accessibleAWTComponentHandler = null ;
9296
9298
9297
9299
/**
9298
9300
* A listener to track focus events
9299
9301
* and convert them to PropertyChange events.
9302
+ * @serial
9300
9303
*/
9301
9304
@ SuppressWarnings ("serial" ) // Not statically typed as Serializable
9302
9305
protected FocusListener accessibleAWTFocusHandler = null ;
0 commit comments