Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
Satellite
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
Christopher Reis
Satellite
Commits
a9ebd350
Commit
a9ebd350
authored
Oct 31, 2015
by
Christopher Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Satellite info fram and deleted databaseTree
parent
5ab55470
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
28 deletions
+38
-28
databaseTree.java
src/GUI/databaseTree.java
+0
-25
satelliteInfo.java
src/GUI/satelliteInfo.java
+33
-0
satelliteTree.java
src/GUI/satelliteTree.java
+5
-3
No files found.
src/GUI/databaseTree.java
deleted
100644 → 0
View file @
5ab55470
package
GUI
;
import
javax.swing.JPanel
;
import
javax.swing.JTree
;
import
javax.swing.JDesktopPane
;
import
java.awt.GridBagLayout
;
import
javax.swing.BoxLayout
;
import
javax.swing.JLabel
;
import
javax.swing.JTextField
;
import
java.awt.Color
;
import
javax.swing.tree.DefaultTreeModel
;
import
javax.swing.tree.DefaultMutableTreeNode
;
public
class
databaseTree
extends
JPanel
{
private
JTextField
textField
;
/**
* Create the panel.
*/
public
databaseTree
()
{
}
}
src/GUI/satelliteInfo.java
0 → 100644
View file @
a9ebd350
package
GUI
;
import
java.awt.EventQueue
;
import
javax.swing.JInternalFrame
;
public
class
satelliteInfo
extends
JInternalFrame
{
/**
* Launch the application.
*/
public
static
void
main
(
String
[]
args
)
{
EventQueue
.
invokeLater
(
new
Runnable
()
{
public
void
run
()
{
try
{
satelliteInfo
frame
=
new
satelliteInfo
();
frame
.
setVisible
(
true
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
});
}
/**
* Create the frame.
*/
public
satelliteInfo
()
{
setBounds
(
100
,
100
,
450
,
300
);
}
}
src/GUI/satelliteTree.java
View file @
a9ebd350
...
...
@@ -44,6 +44,7 @@ import javax.swing.AbstractListModel;
import
javax.swing.JMenuItem
;
import
java.awt.event.MouseAdapter
;
import
java.awt.event.MouseEvent
;
import
javax.swing.ListSelectionModel
;
public
class
satelliteTree
extends
JInternalFrame
{
private
JTextField
satNameField
;
...
...
@@ -86,7 +87,7 @@ public class satelliteTree extends JInternalFrame {
panel
.
add
(
lblNewLabel
);
satNameField
=
new
JTextField
();
satNameField
.
setBounds
(
167
,
21
,
1
14
,
32
);
satNameField
.
setBounds
(
167
,
21
,
1
86
,
32
);
satNameField
.
setDropMode
(
DropMode
.
INSERT
);
panel
.
add
(
satNameField
);
satNameField
.
setColumns
(
10
);
...
...
@@ -116,12 +117,12 @@ public class satelliteTree extends JInternalFrame {
panel
.
add
(
lblNewLabel_2
);
constillationField
=
new
JTextField
();
constillationField
.
setBounds
(
167
,
61
,
1
14
,
32
);
constillationField
.
setBounds
(
167
,
61
,
1
86
,
32
);
panel
.
add
(
constillationField
);
constillationField
.
setColumns
(
10
);
JEditorPane
infoPane
=
new
JEditorPane
();
infoPane
.
setBounds
(
167
,
256
,
186
,
113
);
infoPane
.
setBounds
(
167
,
256
,
379
,
113
);
panel
.
add
(
infoPane
);
JButton
saveButton
=
new
JButton
(
"Commit to Database"
);
...
...
@@ -157,6 +158,7 @@ public class satelliteTree extends JInternalFrame {
downlinkFreqField
.
setColumns
(
10
);
JList
list
=
new
JList
();
list
.
setSelectionMode
(
ListSelectionModel
.
SINGLE_SELECTION
);
list
.
setModel
(
new
AbstractListModel
()
{
String
[]
values
=
new
String
[]
{
"Satellite"
,
"Station"
,
"Geostationary"
,
"Weather"
,
"Amateur Radio"
};
public
int
getSize
()
{
...
...
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