Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
JTankTrouble
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9831111
JTankTrouble
Commits
2b0a81ec
Commit
2b0a81ec
authored
4 years ago
by
nargessalehi98
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setMap method .
parent
0e54dc96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
MainFrame.java
src/MainFrame.java
+7
-4
No files found.
src/MainFrame.java
View file @
2b0a81ec
...
...
@@ -106,7 +106,8 @@ public class MainFrame extends JFrame {
}
}
class
OfflineModeAction
implements
ActionListener
{
class
OfflineModeAction
implements
ActionListener
{
@Override
public
void
actionPerformed
(
ActionEvent
e
)
{
...
...
@@ -114,7 +115,7 @@ public class MainFrame extends JFrame {
JFrame
dialogFrame
=
new
JFrame
(
"Change settings "
);
dialogFrame
.
setResizable
(
false
);
dialogFrame
.
setLayout
(
new
FlowLayout
());
dialogFrame
.
setBounds
(
700
,
450
,
300
,
85
);
dialogFrame
.
setBounds
(
700
,
450
,
300
,
85
);
JLabel
settingLabel
=
new
JLabel
(
"Do you want to play with current setting ?"
);
dialogFrame
.
add
(
settingLabel
);
...
...
@@ -142,8 +143,10 @@ public class MainFrame extends JFrame {
dialogFrame
.
setVisible
(
true
);
}
}
class
OnlineModeAction
implements
ActionListener
{
class
OnlineModeAction
implements
ActionListener
{
@Override
public
void
actionPerformed
(
ActionEvent
e
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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