com.anlavn.ui.timechooser.TimePickerMenu Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AL-Library_VN Show documentation
Show all versions of AL-Library_VN Show documentation
Java library for many thing wonderful
package com.anlavn.ui.timechooser;
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JPopupMenu;
public class TimePickerMenu extends JPopupMenu {
@Override
protected void paintComponent(Graphics grphcs) {
grphcs.setColor(getBackground());
grphcs.fillRect(0, 0, getWidth(), 81);
grphcs.setColor(Color.WHITE);
grphcs.fillRect(0, 81, getWidth(), getHeight());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy