Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653401/#msg_653401
Mariusz P.2011-02-09T16:23:38-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653460/#msg_653460
http://www.vogella.de/articles/EclipseRCP/article.html#syste mtray]]>Tomasz Zarna2011-02-09T20:30:04-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653498/#msg_653498
Mariusz P.2011-02-10T00:32:07-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653568/#msg_653568
zobacz to http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Placeanico nwithapopupmenuonthesystemtray.htm
pozdrawiam ]]>tomek2011-02-10T09:44:33-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653582/#msg_653582
Mariusz P.2011-02-10T10:37:31-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653583/#msg_653583
jak masz ten kod to nie rozumiem w czym masz problem
masz aplikacje z try icaon jak zamykasz okno to łapiesz akcje i nie zamykasz aplikacji tylko dajesz shell setVisible(false) i zostaje ci program w tray icon
pozdro
]]>tomek2011-02-10T10:44:26-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653586/#msg_653586
]]>Mariusz P.2011-02-10T10:52:50-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653611/#msg_653611
zrób tak
shell.addShellListener(new ShellListener() {
@Override
public void shellIconified(ShellEvent e) {
// TODO Auto-generated method stub
}
@Override
public void shellDeiconified(ShellEvent e) {
// TODO Auto-generated method stub
}
@Override
public void shellDeactivated(ShellEvent e) {
System.out.println(e);
shell.setVisible(false);
}
@Override
public void shellClosed(ShellEvent e) {
// TODO Auto-generated method stub
}
@Override
public void shellActivated(ShellEvent e) {
// TODO Auto-generated method stub
}
});
u mnie to działa
tylko potem po nacisnieciu try icon musisz zrobic shell.setVisible (true)
pozdro]]>tomek2011-02-10T12:09:32-00:00Re: [SWT] Minimalizacja tylko do ikony - jak?
https://www.eclipse.org/forums/index.php/mv/msg/204319/653695/#msg_653695
http://www.java2s.com/Tutorial/Java/0280__SWT/ShellEvents.ht m]]>Mariusz P.2011-02-10T17:50:53-00:00