121 Posted Topics
I am thinking of learning C++ (I already know Python and Java), and a friend of mine is thinking of learning C# (already knows some Java and JavaScript). I know there is a long debated "C++ or C#" ordeal out there, so I am not asking about that! :) (I've … | |
I've run java programs in Command Prompt before and it worked, but today I tried and it's saying: 'javac' is not recognized as an internal or external command, operable program or batch file. I am running Windows Vista and have four (4) files under Java: jdk1.6.0_23 jdk1.6.0_24 jre1.6.0 jre6 Umm, … | |
Hello, I have a program that has three text areas, and I'm going to add an image viewer. My question is how to save and load the text and images so that when the user clicks 'save' it will save a file with the text and images, and when the … | |
Hello, I've just recently found out about Python scripting and I am interested in programming an auto login script. However, when looking around, I haven't found any Python web scripting tutorials or guides. If someone could either explain to me how it works, or point me towards a good tutorial … | |
Okay, So this code I have is giving me an error: non-static variable this cannot be referenced from a static context. Here is the code: [code=java] package macey; /** * @author WolfShield */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DemoConv implements ActionListener { private JLabel answerL; public static … | |
Re: Well, I'm assuming you are talking about GUI games and not text based games? And would they be MMORPG, or downloaded onto the PC, or web based? - [B][I]WolfShield[/I][/B] | |
Re: You do need to download it manually, and I suggest you download FreeTTS. It comes with the JSAPI, a few voices to use and, of course, it's free. Here's a link: [URL="http://freetts.sourceforge.net/docs/index.php"]http://freetts.sourceforge.net/docs/index.php[/URL] From that link you should be able to find out pretty much everything you need to know about … | |
Okay, I'll just post my code and see what you guys can make of it. I'm getting the error that the 'main' class could not be found, but as you can see I have it in the code. Thanks for the help! [code=java] package macey; /** * @author Mike */ … | |
Hello everyone, I am trying to get an ActionListener to work in Java. On lines 310 and 312 it says 'cannot find symbol: variable calcDisplayF'. I am a complete noob when it comes to Event Handling so any help on this subject would be greatly appreciated. Here is the code … | |
Hello, I have been working on a speech synthesis program using JSAPI and FreeTTS. I now have the code with NO errors (!!!:)) However, when I run the code, it doesn't actually have any audio to it. If I change the text spoken to "This is text that is spoken." … | |
Hello everyone, I am working on a program right now and part of the idea involves a pop-up menu. What I need is something like: A small box in the program, On MouseOver small box, small pop-up menu opens up next to the small box, On MouseOver menu option 1, … | |
Hello everyone, I've just been trying to run the basic JSAPI 'Hello World' program. It's taken me a while to figure out how to get it to work (and to download everything) but now I have it to this point. I have a few of the same errors that pop … | |
Hey guys! This is the code for a program I started today: [code=java] /* * IdeaCaptureMain.java * * Created on Jan 25, 2011, 4:33:45 PM */ package Idea; /** * * @author WolfShield */ public class IdeaCaptureMain extends javax.swing.JFrame { /** Creates new form IdeaCaptureMain */ public IdeaCaptureMain() { initComponents(); … | |
I have a calculator program I am working on, it works except for one thing. When I type a large number into the calculator, say 125^4 it comes out with: 2.44140625E8. Any ideas on how to get this in-build function turned off? Thanks! -[b][i]WolfShield[/i][/b] | |
Hey everyone, I'm using the NetBeans WYSIWYG, the part where you drag and drop to create the windows and buttons ect. What I am trying to do is open a tutorial for my program from a menu item in the 'Help' menu. My problem is HOW to open a window … | |
Let's say that I have a file: 'mainGUI.java' and I want to, from a menu item, open another GUI file: 'tutorialGUI.java'. What would the code be to preform this? Thanks everyone! -[b][i]WolfShield[/i][/b] | |
Hey everyone, I'm programming (obviously) and have run into a challenge. I'll cut right to the chase, if someone would tell me how to compare a variable to each item in an array I would be very grateful. Thanks for the help! -[B][I]WolfShield[/I][/B] | |
Hello everyone, I have just recently started learning Java (previous Python programmer) and I am making a text based calculator program. I have had no problems with programming it so far, and I just need help with one part of perfecting it. [code=java] package calculator; import java.util.Scanner; public class Main … | |
Re: Quick question on the subject of Java APIs since it was mentioned. Is it possible to download an API? And if so, from where would I do that? Thanks everyone! Sorry for asking in another post. -[B][I]WolfShield[/I][/B] | |
Hello everyone, I was wondering, if I wanted to make my code a little smaller in one file, is it possible for me to import another file I made? E.G. (Very simple e.g. just for helping understand what I mean) Let's say I made a program that the user types … | |
Hello everyone, I'm (relatively) new to programming and have been looking for a good community to learn from/with. Now I've found you guys. Hope to help and learn much! Thanks for the opportunity. |
The End.