PK 8}1 META-INF/MANIFEST.MF Manifest-Version: 1.0 PK 60f6 ( jp/ac/kyoto_u/kueps/fabricj/FabricJ.javapackage jp.ac.kyoto_u.kueps.fabricj; import java.awt.*; import javax.swing.*; /** *
^Cg: FabricJ
*: qzvf[^ǂݍ݁Ce퓝vlYoE}AvP[V
*쌠: Copyright (C) 2003 NARUSE, Hajime All rights reserved.
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 2 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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Ж: Kyoto University
* @author NARUSE, Hajime * @version 1.0 */ public class FabricJ { boolean packFrame = true; /**̃AvP[VǂݍłhLg*/ FabricJDoc fjdoc = new FabricJDoc(); /**̃AvP[ṼCt[*/ MainFrame_FabricJ main_frame = new MainFrame_FabricJ(); /**AvP[Ṽrh*/ public FabricJ() { /**hLgECt[ɂ݂Zbg*/ main_frame.setDoc(fjdoc); fjdoc.setMainFrame(main_frame); //validate() ̓TCY //pack() ͗LȃTCYCAEgȂǂ擾 if (packFrame) { main_frame.pack(); } else { main_frame.validate(); } //EBhE𒆉ɔzu Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension frameSize = main_frame.getSize(); if (frameSize.height > screenSize.height) { frameSize.height = screenSize.height; } if (frameSize.width > screenSize.width) { frameSize.width = screenSize.width; } main_frame.setLocation( (screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2); main_frame.setVisible(true); } //Main \bh public static void main(String[] args) { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (Exception e) { e.printStackTrace(); } new FabricJ(); } } PK ]40135 5 ' jp/ac/kyoto_u/kueps/fabricj/FabricJ.pngPNG IHDR @ @ iq pHYs gR gAMA |Q cHRM z% u0 ` : o_F IDATxb` `i͡@|]A baYW,/p bA7MPσxX5bA @ >̓?z A@) @Q݀XY[x9Eyl 0 Ai #@ SB! }ҫ@r5@ d 4 ~COc`'++ah Zx? [~ D n J+GYXO30=T_:q>ķhqX?z\0HqA* `=yltee3@̋F ".@Mg CߦA1AʕP @ 8v )vσb | 9 @dJP $'1摱+BG k` <z@w)AII_r㧃