#877 A small glitch after search in AS

This commit is contained in:
honfika@gmail.com
2015-05-06 11:52:42 +02:00
parent 10742c6616
commit c1c52df922
3 changed files with 49 additions and 36 deletions

View File

@@ -1,16 +1,16 @@
/*
* Copyright (C) 2010-2015 JPEXS
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.gui;
import java.awt.Component;
import java.awt.FlowLayout;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import java.awt.event.ContainerEvent;
@@ -36,15 +37,7 @@ public class ButtonsPanel extends JPanel {
public ButtonsPanel() {
super(new FlowLayout());
listener = new ComponentListener() {
@Override
public void componentResized(ComponentEvent e) {
}
@Override
public void componentMoved(ComponentEvent e) {
}
listener = new ComponentAdapter() {
@Override
public void componentShown(ComponentEvent e) {