Process entry point.
- Parameters
-
[in] | argv | Command line argument vector |
Definition at line 206 of file MainFrame.java.
References org.libcsdbg.jtracer.Registry.get(), and org.libcsdbg.jtracer.MainFrame.lock.
209 Registry conf =
new Registry();
212 Highlighter h =
new Highlighter();
213 MainFrame app =
new MainFrame();
215 File lockf = conf.getResource(
"log/.lock");
216 FileOutputStream fs =
new FileOutputStream(lockf);
218 app.lock = fs.getChannel().tryLock();
219 if (app.lock == null) {
220 String nm = (String) conf.get(
"generic",
"name");
221 Alert.error(null, nm +
" is already running",
true);
224 lockf.deleteOnExit();
225 UIManager.setLookAndFeel((String) conf.get(
"generic",
"lnf"));
226 app.setVisible(
true);
229 catch (Throwable t) {