
com.panayotis.hrgui.HiResTooltip Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hrgui Show documentation
Show all versions of hrgui Show documentation
High Resolution HiDPI friendly Swing based user interface
The newest version!
package com.panayotis.hrgui;
import javax.swing.*;
import java.awt.*;
public class HiResTooltip extends JToolTip implements HiResComponent {
public HiResTooltip(JComponent parent) {
super();
setComponent(parent);
}
@Override
public void setFont(Font f) {
HiResFontManager.setFont(this, f);
}
@Override
public Font getFont() {
return HiResFontManager.getFont(this);
}
@Override
public JToolTip createToolTip() {
return new HiResTooltip(this);
}
@Override
public void setFontSuper(Font font) {
super.setFont(font);
}
@Override
public Font getFontSuper() {
return super.getFont();
}
@Override
public Component comp() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy