[ https://issues.apache.org/jira/browse/FELIX-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479317 ]
Richard S. Hall commented on FELIX-249: --------------------------------------- For your first approach, I modified it like this: m_shutdownButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { Bundle systembundle = m_context.getBundle(0); try { systembundle.stop(); } catch (Exception ex) { System.out.println(ex.toString()); ex.printStackTrace(System.out); } } }); This seems to work fine for me under Linux too. I will commit this change, let me know how it works for you. > Add a shutdown button to the shellGUI > ------------------------------------- > > Key: FELIX-249 > URL: https://issues.apache.org/jira/browse/FELIX-249 > Project: Felix > Issue Type: Improvement > Reporter: Tim Moloney > Priority: Trivial > Attachments: shell.gui.plugin-shutdown-choice-1.patch, > shell.gui.plugin-shutdown-choice-2.patch > > > Add a shutdown button to the shellGUI to make shutting down a bit more > convenient. Presently, you have to click on the Shell panel selector, then > click on the shell command entry box, then type shutdown. Adding a button > would reduce this to just a mouse click or two. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.