All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.panayotis.hrgui.HiResTooltip Maven / Gradle / Ivy

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