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

com.jidesoft.plaf.aqua.AquaGripperUI Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
package com.jidesoft.plaf.aqua;

import com.jidesoft.plaf.basic.BasicGripperUI;
import com.jidesoft.swing.Gripper;

import javax.swing.*;
import javax.swing.plaf.ComponentUI;
import java.awt.*;

/**
 * @author olifink
 */
public class AquaGripperUI extends BasicGripperUI {
    public static ComponentUI createUI(JComponent c) {
        return new AquaGripperUI();
    }

    @Override
    public void paint(Graphics g, JComponent c) {
        Gripper gripper = (Gripper) c;
        paintBackground(g, gripper);
        getPainter().paintGripper(c, g, new Rectangle(0, 0, c.getWidth(), c.getHeight()), gripper.getOrientation(), 0);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy