Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MidtermProject_NargesSalehi_9628055
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
9628055
MidtermProject_NargesSalehi_9628055
Commits
5f00875a
Commit
5f00875a
authored
May 11, 2020
by
nargessalehi98
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments
parent
fd3cd71f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
23 deletions
+105
-23
GUI.java
src/GUI.java
+99
-22
Main.java
src/Main.java
+6
-1
No files found.
src/GUI.java
View file @
5f00875a
This diff is collapsed.
Click to expand it.
src/Main.java
View file @
5f00875a
import
javax.swing.*
;
/**
* Run the program
* @author Narges Salehi
*/
public
class
Main
{
//choosing look and fell
public
static
void
main
(
String
[]
args
)
{
try
{
for
(
UIManager
.
LookAndFeelInfo
info
:
UIManager
.
getInstalledLookAndFeels
())
{
...
...
@@ -13,6 +17,7 @@ public class Main {
}
catch
(
Exception
e
)
{
// If Nimbus is not available, you can set the GUI to another look and feel.
}
//creat a new GUI
GUI
gui
=
new
GUI
();
}
}
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