HTML on JLabel

2001-05-02 Thread KC_Eilander
Hi, I was just trying to add multiple images to a jlabel... My thought was to just set the label as html text, and add an img tag for the extra image. The only problem is that each variation below: label=new JLabel (htmlimg src=\cup.gif\Hello, image); label=new JLabel (htmlimg

MyPointlessBean

2001-05-10 Thread KC_Eilander
Hi, This is one of those incredibly stupid questions, but here goes... I jar up a java bean with the following command line: jar cfm mypointlessbean.jar MyPointlessBean.mf mypointlessbean Everything gets packaged OK, but beanbox hates it. I don't blame it. When I extract the

Mr. Bean

2001-05-11 Thread KC_Eilander
Hi, This is one of those incredibly stupid questions, but here goes... I jar up a java bean with the following command line: jar cfm mypointlessbean.jar MyPointlessBean.mf mypointlessbean Everything gets packaged OK, but beanbox hates it. I don't blame it. When I

Video from CD

2001-06-26 Thread KC_Eilander
Ok, here's the plot. I have a CDROM, whos autorun.inf loads an html file with my applet in it. Now, when a user clicks a button in the applet, it runs a movie (avi) file off the CD. Well, any chimp with a keyboard could write that program, but here's where it gets ugly. The AVI

Re: Problem with JTree.

2001-07-20 Thread KC_Eilander
If you want all the leaf nodes to be displayed with the folder icon, you can use: DefaultTreeCellRenderer renderer=yourTree.getTreeCellRenderer(); renderer.setLeafIcon(renderer.getClosedIcon()); If you want only certain leaf nodes to be displayed this way, you might have to write a custom