10 August 2004 - java_dev (original) (raw)
| | 01:00 pm - dieeiervonsatan Hi, I was wondering if anyone could help me out with a program. I've only been messing around with Java for a few weeks, so currently I suck but..Ok. I've got an application that creates a Menu. What I want it to do, is for another program (my calculator program) to appear in the screen when you click one of the Menu Items called "Calculator". So basically I want it to kind of link to the Calculator. I guess it's something to do with this part:public boolean action (Event evt, Object o) { if(evt.target instanceof MenuItem) if (evt.target == calc) { I guess something should go here.. } return (false); } But I don't know how to do this. Can anyone help? It would be much appreciated! |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 08:49 pm - khalidz0r - JSP and Heredoc I am having a small problem with String handling in JSP.I have some jsp code that would produce some sort of a report. I need to put this report in the session due to the way the rest of the system is designed. **( More details ...Collapse )**So anybody has some idea about how to go about doing this? Thanks for your time! |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |