open a jframe in cytoscape

14 views
Skip to first unread message

Giovanni Scardoni

unread,
May 7, 2015, 11:41:28 AM5/7/15
to cytoscap...@googlegroups.com
Dear all,
I want to open a window (a JFrame) on cytoscape.
I created the JFrame object and set it as visible.
It works, but I am not sure this is the best way to do it in Cytoscape.
For example if I close the window clicking on the cross (X), it close also Cytoscape.

Giovanni 

--
Giovanni Scardoni
The Center for BioMedical Computing (CBMC)
www.cbmc.it/~scardonig/
University of Verona
Strada le Grazie, 15 -37134
Verona -Italy

Try these Cytoscape apps!
CentiScaPe: http://www.cbmc.it/~scardonig/centiscape/centiscape.php
Interference: http://www.cbmc.it/~scardonig/interference/Interference.php

Maximilian Malek

unread,
May 7, 2015, 11:47:56 AM5/7/15
to cytoscap...@googlegroups.com
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
// ...add content...
frame.setVisible(true);
Reply all
Reply to author
Forward
0 new messages