[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/book/install s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Jun 11 07:26:36 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install
In directory www.crosswire.org:/tmp/cvs-serv21146/java/main/org/crosswire/bibledesktop/book/install

Modified Files:
	SitesPane.java 
Log Message:
Made the startup experience a bit nicer.

Index: SitesPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/SitesPane.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SitesPane.java	17 May 2005 00:44:31 -0000	1.5
--- SitesPane.java	11 Jun 2005 14:26:34 -0000	1.6
***************
*** 36,39 ****
--- 36,40 ----
  import javax.swing.JOptionPane;
  import javax.swing.JPanel;
+ import javax.swing.JRootPane;
  import javax.swing.JTabbedPane;
  
***************
*** 175,179 ****
          dlgMain.getContentPane().add(createButtons(), BorderLayout.SOUTH);
          dlgMain.setTitle(Msg.AVAILABLE_BOOKS.toString());
!         dlgMain.setModal(true);
          dlgMain.addWindowListener(new WindowAdapter()
          {
--- 176,182 ----
          dlgMain.getContentPane().add(createButtons(), BorderLayout.SOUTH);
          dlgMain.setTitle(Msg.AVAILABLE_BOOKS.toString());
!         dlgMain.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
!         dlgMain.setResizable(true);
!         //dlgMain.setModal(true);
          dlgMain.addWindowListener(new WindowAdapter()
          {
***************
*** 185,188 ****
--- 188,192 ----
          dlgMain.setLocationRelativeTo(parent);
          dlgMain.setVisible(true);
+         dlgMain.toFront();
      }
  



More information about the jsword-svn mailing list