Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97874328
ServerApp.java
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jan 7, 01:19
Size
581 B
Mime Type
text/x-c
Expires
Thu, Jan 9, 01:19 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23423858
Attached To
R3229 Genome Privacy - SHCS App
ServerApp.java
View Options
import
java.awt.EventQueue
;
import
ui.ServerGUI
;
import
utils.ServerProperties
;
import
framework.Server
;
public
class
ServerApp
{
public
static
void
main
(
String
[]
args
)
{
EventQueue
.
invokeLater
(
new
Runnable
()
{
public
void
run
()
{
try
{
ServerGUI
window
=
new
ServerGUI
();
window
.
setFrameVisible
();
ServerProperties
props
=
new
ServerProperties
(
"config/config_server.fry.properties"
);
Server
s
=
new
Server
(
window
,
props
);
Thread
t
=
new
Thread
(
s
);
t
.
start
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
});
}
}
Event Timeline
Log In to Comment