mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
More CPU hogging fixes
This commit is contained in:
@@ -25,6 +25,23 @@ import java.awt.*;
|
||||
* @author gregsh
|
||||
*/
|
||||
public class CellRendererPanel extends JPanel {
|
||||
|
||||
// property change support ----------------
|
||||
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
|
||||
}
|
||||
|
||||
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) {
|
||||
}
|
||||
|
||||
// isOpaque() optimization ----------------
|
||||
public boolean isOpaque() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintComponent(Graphics g) {
|
||||
}
|
||||
|
||||
// BEGIN no validation methods --------------
|
||||
@Override
|
||||
public void doLayout() {
|
||||
|
||||
Reference in New Issue
Block a user