This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi guys. I'm stuck with listeners currently. I've created a frame and canvas. On the frame I have a menu bar, which when I select OPTIONS --> VIEW REPORT if loads up a word file I have into Word. I have the code for loading it now (thanks to Cindy), and the project compiles fine and runs fine. But when I select the VIEW REPORT option with the mouse nothing happens. I'm also trying to be able to load if with CNTRL & V too, but didn't have much luck succeeding. Please can someone help me. Many thanks. Here's the frame and canvas codes as these are most relevant for this question. I've done quite a bit of my project, but need to get this working before I can realistically attempt any more. Thanks. Frame:
hehe. It's actually part of a 2D assignment I have to do for tomorrow morning (not a prayer ), and all that code was for the whole menu (which incidently only half of which works yet ). I'm just useless with listeners...and java as a whole Thanks! I'll try it
Joined: Apr 17, 2002
Sadly it didn't work (my coding is beyond help ) Thanks anyway!