...
A very common compiler warning to receive is the following for your frame class and other customized GUI components:{{
Code Block |
---|
The serializable class XXX does not declare a static final serialVersionUID field of type long |
...
|
If you do, add the following field to the class:
Code Block |
---|
...
private static final long serialVersionUID = 42L; // Use a random, unique integer value here |
...
|
For more information, see this web page .