Skip to content
Snippets Groups Projects
BamView.java 122 KiB
Newer Older
  • Learn to ignore specific revisions
  • tjc's avatar
    tjc committed
        }
        if(base > 0)
          view.scrollBar.setValue(base);
        if(orientation)
          view.isOrientation = true;
        if(covPlot)
        {
          view.isCoverage = true;
          view.coveragePanel.setVisible(true);
        }
        if(snpPlot)
        {
          view.isSNPplot = true;
          view.snpPanel.setVisible(true);
        }
    
    
        // translucent
        //frame.getRootPane().putClientProperty("Window.alpha", new Float(0.9f));
    
        /*frame.addWindowFocusListener(new WindowFocusListener()
    
    tjc's avatar
    tjc committed
        {
          public void windowGainedFocus(WindowEvent e)
          {
            view.requestFocus();
          }
          public void windowLostFocus(WindowEvent e){}
    
    tjc's avatar
    tjc committed
        frame.pack();
    
    tjc's avatar
    tjc committed
        view.jspView.getVerticalScrollBar().setValue(
            view.jspView.getVerticalScrollBar().getMaximum());
    
        frame.setVisible(true);
    
    tjc's avatar
    tjc committed
      }
    }