listview question.....

2004-02-17 Thread Jessamine
Hi, I'm trying to make a java application and I was just wondering if java has a ListView fuction similar to that of VB? I've been trying to find some sources in the net but have come up with nothing useful. Would anyone know anything about this? Thanks, Jessamine

RE: listview question.....

2004-02-17 Thread Attili Venkata Ravi Kishore
Hi, I think what you are talking about is similar to JList in java. Please refer java API for this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jessamine Sent: Tuesday, February 17, 2004 2:11 PM To: [EMAIL PROTECTED] Subject: listview question.

Path Files

2004-02-17 Thread Marcos . Rebelo
In my program I'm using ImageIcon for the buttons and I had this code Action actClose = new AbstractAction(Close, new ImageIcon(images/file_close.gif)){...} This works if I'm in the correct directory, but if I'm not the images are not found. What is the correct way to do the previus code?

RE: Path Files

2004-02-17 Thread Deblauwe, Wim
Title: RE: Path Files Use the following construct: ImageIcon image = new ImageIcon( getClass().getResource( images/file_close.gif ) ); This construct will find resources that are in the classpath. Suppose this code is in a class in a package com.mycompagny.application, then you need to