|
|
How do I perform an action when JBuilder is terminated? |
| Gillmer Derge writes:
I think the agreed upon solution is to use a static browser listener. Something like what I've shown below. Note that you might need to check whether the browser count is 1 instead of 0 depending on when the count is decreased.
// import com.borland.primetime.ide.Browser;
// import com.borland.primetime.ide.BrowserListener;
Browser.addStaticBrowserListener(new BrowserListener() {
public void browserClosed(Browser p0) {
if (Browser.getBrowserCount() == 0) {
// JBuilder is exiting. Do something about it.
}
}
2001-Dec-05 10:10am gyles19@visi.com | |
| [Append to This Answer] | |
| 2001-Dec-05 10:10am |
| Previous: |
|
| Next: |
|
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||