java - Disable Swing Tooltips by Command Line Parameter -
A method of disabling tooltip displays in the swing app without changing source code (JR6 +, shape and sound Used to be)?
I have a rolled application, in one instance, there are serious performance problems when tooltips are displayed on jetties. Essentially, the whole table wants to redesign again and due to some other problems, it is slow to re-slow slow to present. For immediate solution, I could not change the rolled jar. I can now imagine that the only solution would be a receipt which I can set with the command line which disables tooltips or at least initial and redistribution delays Enhances.
Is there any such property?
See the Class Tooltip Manager. You can disable all tooltips in your application. So you need a new jar with a small class that provides a proxy for your targeted jar.
Something like this:
public class ProxyLauncher {public static zero major (string [] args) {ToolTipManager.sharedInstance (). SetEnabled (false); // Launch your application: // MyApplication.main (args); }}
Comments
Post a Comment