Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
...
JButton b = new JButton("Berechnungen");
b.setEnabled(false);
b.setToolTipText("<html>Hier steht ein Tooltip- <br>" +
"text ohne Rahmen. <html>");
add(b);
...
UIManager.put("ToolTip[Disabled].backgroundPainter",
UIManager.get("ToolTip[Enabled].backgroundPainter"));
LookAndFeel lnf;
lnf = (LookAndFeel)((Class.forName("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel")).getConstructor().newInstance());
UIManager.setLookAndFeel(lnf);
lnf.getDefaults().put("ToolTip[Disabled].backgroundPainter", UIManager.get("ToolTip[Enabled].backgroundPainter"));