This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have got to a point in my program where I have to consult other java programmers from around the world. I found out a solution to my problem which is "How to use text to speech in Java". I download the source code bt I dont know where to place these codes in other for me to be able to import the class libraries. Please can someone tell where to put the class libraries on my local disk? I'm using Windows XP to run my Netbeans software.
Shola Onibokun wrote:I download the source code...
THe JVM requires the class files and not the java (source). Typically the class files will be packaged in a jar file and you need to add this jar to the classpath. If you do not have such a jar, please consult the original side where you downloaded the source code.
On a side note, I have edited your post for the bold text. Please KeepItDown (<= Please click this link for more information)
Thank you all for the assistance in bringing up my Programming.
However I have some more questions which I will like to ask one after the other. I just got the idea of using my own designed jDialog boxes as Joptionpane in my jFrame form. The problem is that I was unable to retrieve information from the dialog box. Another problem is that I tried to close the jFrame form through the click event of a JButton but i found it difficult to do.
I just got the idea of using my own designed jDialog boxes as Joptionpane in my jFrame form. The problem is that I was unable to retrieve information from the dialog box.
Can you provide an SSCCE so we can see what you mean.
Another problem is that I tried to close the jFrame form through the click event of a JButton but i found it difficult to do.
You would normally only have one JFrame in an application, any other windows you want to open would be JDialogs.
To close either type of window call setVisible(false) and then possibly dispose() to free up resources.
Again though without code it's hard for us to know what/where your problem is.