1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-06 01:08:25 +01:00

Update notification popup was not sticking to bottom left corner when windows was resized. Fixes #4068

This commit is contained in:
Federico Fissore 2015-11-03 09:03:32 +01:00
parent 20dad1eed6
commit 31e8706cf4

View File

@ -53,6 +53,11 @@ public class NotificationPopup extends JDialog {
public void componentMoved(ComponentEvent e) { public void componentMoved(ComponentEvent e) {
updateLocation(parent); updateLocation(parent);
} }
@Override
public void componentResized(ComponentEvent e) {
updateLocation(parent);
}
}; };
parent.addComponentListener(parentMovedListener); parent.addComponentListener(parentMovedListener);