This commit is contained in:
Alexey Kudravtsev
2009-11-20 12:27:49 +03:00
parent a5fb767663
commit cc73e75166
2 changed files with 7 additions and 8 deletions
@@ -16,8 +16,7 @@
package com.intellij.openapi.ui.popup;
public class LightweightWindowEvent {
private LightweightWindow myWindow;
private final LightweightWindow myWindow;
public LightweightWindowEvent(LightweightWindow window) {
myWindow = window;
@@ -30,13 +30,13 @@ import java.util.List;
public class BalloonLayout {
private JLayeredPane myParent;
private Insets myInsets;
private final JLayeredPane myParent;
private final Insets myInsets;
private List<Balloon> myBalloons = new ArrayList<Balloon>();
private final List<Balloon> myBalloons = new ArrayList<Balloon>();
private Alarm myRelayoutAlarm = new Alarm();
private Runnable myRelayoutRunnable = new Runnable() {
private final Alarm myRelayoutAlarm = new Alarm();
private final Runnable myRelayoutRunnable = new Runnable() {
public void run() {
relayout();
}
@@ -102,7 +102,7 @@ public class BalloonLayout {
private List<Integer> computeWidths(List<ArrayList<Balloon>> columns) {
private static List<Integer> computeWidths(List<ArrayList<Balloon>> columns) {
List<Integer> columnWidths = new ArrayList<Integer>();
for (ArrayList<Balloon> eachColumn : columns) {
int maxWidth = 0;