Valueclick Inc v. Revenue Science Inc

Filing 37

DECLARATION of KENDYL ROMAN IN SUPPORT OF DEFENDANT REVENUE SCIENCE, INC.S RESPONSIVE MARKMAN BRIEF filed by Counter Claimant Revenue Science Inc, Defendant Revenue Science Inc. (Attachments: # 1 Exhibit 1# 2 Exhibit 2# 3 Exhibit 3)(Subhedar, Nitin)

Download PDF
Valueclick Inc v. Revenue Science Inc Doc. 37 Att. 3 Case 2:07-cv-02052-MMM-JC Document 37-4 Filed 11/19/2007 Page 1 of 3 EXHIBIT 3 Dockets.Justia.com Case 2:07-cv-02052-MMM-JC Document 37-4 Filed 11/19/2007 Page 2 of 3 Exhibit 3 /CoreJavaBook/ch2/ImageViewer/ImageViewer.java 1 /* 2 * Gary Cornell and Cay S. Horstmann, Core Java (Book/CD-ROM) 3 * Published By SunSoft Press/Prentice-Hall 4 * Copyright (C) 1996 Sun Microsystems Inc. 5 * All Rights Reserved. ISBN 0-13-565755-5 6 * 7 * Permission to use, copy, modify, and distribute this 8 * software and its documentation for NON-COMMERCIAL purposes 9 * and without fee is hereby granted provided that this 10 * copyright notice appears in all copies. 11 * 12 * THE AUTHORS AND PUBLISHER MAKE NO REPRESENTATIONS OR 13 * WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER 14 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 16 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE AUTHORS 17 * AND PUBLISHER SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED 18 * BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING 19 * THIS SOFTWARE OR ITS DERIVATIVES. 20 */ 21 22 /** 23 * @version 1.00 07 Feb 1996 24 * @author Cay Horstmann 25 */ 26 27 import java.awt.*; 28 import java.awt.image.*; 29 import java.net.*; 30 import java.io.*; 31 32 public class ImageViewer extends Frame 33 { public ImageViewer() 34 { setTitle("ImageViewer"); 35 MenuBar mbar = new MenuBar(); 36 Menu m = new Menu("File"); 37 m.add(new MenuItem("Open")); 38 m.add(new MenuItem("Exit")); 39 mbar.add(m); 40 setMenuBar(mbar); 41 } 42 43 public boolean handleEvent(Event evt) Kendyl Román Exhibit 3 Exhibit 3, Page 1 of 2 1 of 2 Case 2:07-cv-02052-MMM-JC Document 37-4 Filed 11/19/2007 Page 3 of 3 Exhibit 3 /CoreJavaBook/ch2/ImageViewer/ImageViewer.java 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 CC _V ER SI ON _3 0 { } if (evt.id == Event.WINDOW_DESTROY) System.exit(0); return super.handleEvent(evt); public boolean action(Event evt, Object arg) { if (arg.equals("Open")) { FileDialog d = new FileDialog(this, "Open image file", FileDialog.LOAD); d.setFile("*.gif"); d.show(); String f = d.getFile(); if (f != null) image = Toolkit.getDefaultToolkit().getImage(f); repaint(); } else if(arg.equals("Exit")) System.exit(0); else return false; return true; } public void paint(Graphics g) { if (image != null) g.drawImage(image, 0, 0, this); } public static void main(String args[]) { Frame f = new ImageViewer(); f.resize(300, 200); f.show(); } private Image image = null; } Kendyl Román Exhibit 3 Exhibit 3, Page 2 of 2 2 of 2

Disclaimer: Justia Dockets & Filings provides public litigation records from the federal appellate and district courts. These filings and docket sheets should not be considered findings of fact or liability, nor do they necessarily reflect the view of Justia.


Why Is My Information Online?