Hi all, I've been trying to get the code from an article on the O'Reilly site to work. It starts an instance of tomcat inside a java application. For me, tomcat starts except a message is displayed "Couldn't create connector." This is the result of the following statement:
Hello all, I need to open up a serial port with an applet using the javax.comm api. My code works fine as an application but as an applet it still gets what seems to be some kind of security exception. I have modified the java.policy file to grant
java.security.AllPermission; And I changed the IE 6 settings to allow any java operation. but still no luck. Is what I'm trying to do possible? Any thoughts? Thanks in advance. George.
I'm begining to use the J2ME emulator and now I'm thinking about purchasing a PALM device. My question is: would say a PALM VIIx come 'ready to roll' as far as the MIDP and KVM (all the things required to run my programs) and if not how does this work? How much prep is required to run programs developed on the emulator to run on the PALM? I'm new to this so please pardon my ignorance. Any advice on PALM purchase would be greatly appreciated. My requirement is that am able to connect to a J2EE server either through a modem, or network connection. Wireless in the future. Thanks in advance. George.
Yes! InputStream in = this.getClass().getResourceAsStream("/text.txt"); works! I'll check out the javadocs as you suggested to see if I can get clear in my mind what is happening here. Thanks again, George.
Thanks Chris, You are probably right, I have the constraint of planting this applet right onto the HTML page so I can't subclass JFrame which opens up a separate 'Java Applet Window'. As I've been developing this I've come to the conclusion that some of these components behave 'differently' on the JApplet container than on the JFrame. (I can get my drag and drop routines for the tree to work by sub classing JFrame but the drop events don't fire when I sub class JApplet.) Yes, I probably need to use the JDesktopFrame (although my big Swing book (O'Reilly) says you can use any container). I tried that and I was probably doing something wrong with that cause my controls wouldn't paint on top of it at all...I just got the JDesktopFrame (?). Unfortunately I don't have time to do much controlled experimentation...this search thing is required for an upcoming demo of the application...(crunch). So I've come up with the idea of adding a tab for the search criteria to make them persistant and then another to display the results. When things quiet down I'll get back to this. Who am I kidding? Things don't quiet down here ! Thanks again. George.
Mike, Thanks for the reply...I think I tried that already but I'll try it again just in case. I was doing some searches on the problem and apparently there are numerous bugs in jdk 1.3 relative to the sizing of the JInternalFrame. George.