import javax.swing.ToolTipManager; public class Main { public static void main(String[] argv) throws Exception { // Enable tool tips for the entire application ToolTipManager.sharedInstance().setEnabled(true); // Disable tool tips for the entire application ToolTipManager.sharedInstance().setEnabled(false); } }