• 大小: 2.45M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 语言: Java
  • 标签: java  

资源简介

java core 源代码

资源截图

代码片段和文件信息

import java.awt.EventQueue;
import java.awt.event.*;
import java.io.*;
import javax.swing.*;

/**
 * A program for viewing images.
 * @version 1.22 2007-05-21
 * @author Cay Horstmann
 */
public class ImageViewer
{
   public static void main(String[] args)
   {
      EventQueue.invokeLater(new Runnable()
         {
            public void run()
            {
               Jframe frame = new ImageViewerframe();
               frame.setDefaultCloseOperation(Jframe.EXIT_ON_CLOSE);
               frame.setVisible(true);
            }
         });
   }
}

/**
 * A frame with a label to show an image.
 */
class ImageViewerframe extends Jframe
{
   public ImageViewerframe()
   {
      settitle(“ImageViewer“);
      setSize(DEFAULT_WIDTH DEFAULT_HEIGHT);

    

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2007-04-07 09:35  gutenberg\
     目录           0  2005-07-16 11:26  v1ch02\
     目录           0  2008-02-26 21:15  v1ch02\ImageViewer\
     目录           0  2007-09-11 22:00  v1ch02\Welcome\
     目录           0  2007-09-11 22:00  v1ch02\Welcomeapplet\
     目录           0  2005-07-16 11:26  v1ch03\
     目录           0  2007-09-11 22:00  v1ch03\BigIntegerTest\
     目录           0  2007-09-11 22:00  v1ch03\CompoundInterest\
     目录           0  2007-09-11 22:00  v1ch03\FirstSample\
     目录           0  2007-09-11 22:00  v1ch03\InputTest\
     目录           0  2007-09-11 22:00  v1ch03\LotteryArray\
     目录           0  2007-09-11 22:00  v1ch03\LotteryDrawing\
     目录           0  2007-09-11 22:00  v1ch03\LotteryOdds\
     目录           0  2007-09-11 22:00  v1ch03\Retirement\
     目录           0  2007-09-11 22:00  v1ch03\Retirement2\
     目录           0  2005-07-16 11:26  v1ch04\
     目录           0  2007-09-11 22:05  v1ch04\CalendarTest\
     目录           0  2007-09-11 22:00  v1ch04\ConstructorTest\
     目录           0  2007-09-11 22:00  v1ch04\EmployeeTest\
     目录           0  2007-09-11 22:00  v1ch04\PackageTest\
     目录           0  2005-07-16 11:26  v1ch04\PackageTest\com\
     目录           0  2005-07-16 11:26  v1ch04\PackageTest\com\horstmann\
     目录           0  2007-09-11 22:00  v1ch04\PackageTest\com\horstmann\corejava\
     目录           0  2007-09-11 22:00  v1ch04\ParamTest\
     目录           0  2007-09-11 22:00  v1ch04\StaticTest\
     目录           0  2005-07-16 11:26  v1ch05\
     目录           0  2007-09-11 22:00  v1ch05\ArrayGrowTest\
     目录           0  2007-09-11 22:00  v1ch05\ArrayListTest\
     目录           0  2007-09-11 22:00  v1ch05\EnumTest\
     目录           0  2007-09-11 22:00  v1ch05\EqualsTest\
     目录           0  2007-09-11 22:00  v1ch05\ManagerTest\
............此处省略759个文件信息

评论

共有 条评论