Skip to content
Snippets Groups Projects
Commit 0932bd66 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

clean up, add TODO

parent b3082ba0
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ public class ViewerPanel extends JPanel implements OverlayRenderer, TransformLis
public ViewerPanel( final List< SourceAndConverter< ? > > sources, final int numTimepoints, final CacheControl cacheControl, final ViewerOptions optional, final ActionMap actionMap )
{
super( new BorderLayout(), false );
setPreferredSize( new Dimension( 600, 500 ) );
options = optional.values;
this.actionMap = actionMap;
......@@ -332,16 +332,6 @@ public class ViewerPanel extends JPanel implements OverlayRenderer, TransformLis
mouseCoordinates = new MouseCoordinateListener();
display.addHandler( mouseCoordinates );
display.addComponentListener( new ComponentAdapter()
{
@Override
public void componentResized( final ComponentEvent e )
{
requestRepaint();
display.removeComponentListener( this );
}
} );
final JPanel sliderPanel = new JPanel();
sliderPanel.setLayout( new BoxLayout( sliderPanel, BoxLayout.X_AXIS ) );
......@@ -526,7 +516,7 @@ public class ViewerPanel extends JPanel implements OverlayRenderer, TransformLis
nextKeyframeButton.setEnabled( enable );
}
public KeyFramePopupMenu getKeyFramePopupMenu()
public KeyFramePopupMenu getKeyFramePopupMenu() // TODO: remove!
{
return this.keyframePanel.getKeyFramePopupMenuPopupMenu();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment