inner class

2001-11-06 Thread flora yuan
Hi, class B is inner class of A. I want to invoke method putdate() which is defined in class A from inner class B. what's the syntax? public class A{ public void putData(){ .. } protected class B{ public void doSomething{ putData();//need to invoke method pu

how to repaint the selectedItem

2001-09-13 Thread flora yuan
Hi, I define a List in one Frame. The List is used to display files and directory of the file system. When I select one item, the item is highlighted. How to keep the highlight of the item even when the List field is updated by adding a new file? (When the List is modified, my code refreshs t

text of List

2001-08-29 Thread flora yuan
I am developing an user interface for exploring file system. I use List to contain the lists of files/subdirectory. Currently, file and directory are the same text fond/color when they are displayed in the List. My question is how to give users an obvious way to distinguish file and directory b