Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Teemu Auvinen
dtek1066-toinen-ryhmis
Commits
fba46d50
Commit
fba46d50
authored
Dec 30, 2017
by
Matti Pulkkinen
Browse files
added serialVersionUID to serializable classes
parent
678141ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fi/utu/dtek1066/MapDialog.java
View file @
fba46d50
...
...
@@ -18,9 +18,6 @@ import javax.swing.JPanel;
// Kartankatseluohjelman graafinen käyttöliittymä
public
class
MapDialog
extends
JFrame
{
// Käyttöliittymän komponentit
// Kontrollinappien kuuntelija
// KAIKKIEN NAPPIEN YHTEYDESSÄ VOINEE HYÖDYNTÄÄ updateImage()-METODIA
private
class
ButtonListener
implements
ActionListener
{
...
...
@@ -61,8 +58,12 @@ public class MapDialog extends JFrame {
}
}
// actionPerformed(ActionEvent)
}
// class ButtonListener
// Käyttöliittymän komponentit
// Valintalaatikko, joka muistaa karttakerroksen nimen
private
class
LayerCheckBox
extends
JCheckBox
{
private
static
final
long
serialVersionUID
=
1L
;
private
String
name
=
""
;
public
LayerCheckBox
(
String
name
,
String
title
,
boolean
selected
)
{
...
...
@@ -76,6 +77,8 @@ public class MapDialog extends JFrame {
}
}
// class LayerCheckBox
private
static
final
long
serialVersionUID
=
1L
;
public
static
void
main
(
String
[]
args
)
throws
Exception
{
new
MapDialog
();
}
// main(String[])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment