Search:
Type: Posts; User: RajaCode
Search:
Search took 0.05 seconds.
-
December 28th, 2009, 04:39 AM
I want to change the background color when the user clicks a input field and not all input fields on my form. I want to complete all of this using an external style sheet.
I created some css but...
-
December 27th, 2009, 02:57 PM
If you have a HTML form and have a text field that when the user clicks on this so that its the one which the user can input data in is there a way of PHP changing the color of the background of the...
-
Why doesn't it work with a method? Why cant I just place it into the class without a method?
-
I am confused about this problem. The code is syntactically correct however when placing the code into a new class it refuses to compile and brings up errors of token problems.
Any ideas why...
-
April 4th, 2009, 05:16 PM
Thanks your solution works.
-
April 4th, 2009, 03:11 PM
I am trying to write a file to the desktop. First I have determined the location of the desktop and using FileInfo and FileStream attempt to write the file. However my program does not output the...
-
March 28th, 2009, 01:14 PM
For some reason the program does not understand user input. I can't see what is wrong with this:
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Colors
{
...
-
March 28th, 2009, 09:28 AM
This is probably really simple but I could not find the answer on the forums or when I "google it".
I have a console application written in Visual Studio 2005 and I want to take the user's input...
-
July 21st, 2008, 04:24 AM
I noticed a semi-colan at the end a }
why would you need this? And why do you not have a ; at the end of all }
JFrame frame = new JFrame("FlowLayout Source Demo") {
public...
-
July 15th, 2008, 09:21 AM
When I move the music.wav file into the same directory the program loads but it loads with out the pictures on the buttons.
Then I moved the JAR and the music.wav and the 2 gif files and the...
-
July 15th, 2008, 05:12 AM
The JAR works when it is left in this directory however it does not work when you move the JAR to another directory.
I would like to create the JAR and then distribute it.
-
July 14th, 2008, 04:16 PM
The output gives the current directory of the file :
D:\Documents and Settings\Ritesh\workspace\PeppaPig
The program works when the program is being run normally. I use Eclipse and the music...
-
July 14th, 2008, 03:54 AM
When inserting the code :
System.out.println(System.getProperty("user.direct"));
in the main function of the class PeppaPig the output is "null"
public static void main(String args[]){...
-
July 14th, 2008, 03:52 AM
This is the code at line 122 :
audioInputStream = AudioSystem.getAudioInputStream(soundFile);
I have included the code that runs after this :
catch (Exception e)
{
/*
In case...
-
July 13th, 2008, 03:29 AM
music.wav is in the root directory the jar file is quite large at 150kb so I think it must have included it in the JAR but for some reason is not finding the file.
The program uses the...
-
July 12th, 2008, 07:15 AM
I tried the example and the only thing it added to the jar file was the manifest file! I have zipped the directory structure so that you can view what I have.
I could not attach it to Codeguru...
-
July 12th, 2008, 04:22 AM
I have got the JAR that worked when all the files are in the directory which worked! I copied this file and placed into a new directory on the C:\ called New Folder.
I then ran the command at...
-
I tried adding a space in the manifest file and that has got me up and running and able to create the jar file! :)
However the jar file that I create does not work it does not seem to be able to...
-
Sorry I could not understand the example that you gave. I tried my version and this was the output :
D:\PeppaPig>jar -cvfm PeppaPig.jar manifest.txt *
java.io.IOException: invalid header field
...
-
If you download the attachment would you be able to create a jar file from it? I understand the main commands of creating the jar but I could not get it to work
My manifest file would be...
-
I got my program to work as mentioned just needed to create the music object and it worked!
I have attached the program. Thanks for the assistance. I however had a problem creating the jar file...
-
OK I did not create the music object - lol
It works when you create the actual object!
-
I tried to amend the code but I still cant get it to work. I get an exception error in my main program. I have 2 classes one is called PeppaPig.java and the other is SimpleAudioPlayer.java.
I...
-
OK The program listed above plays a sound file when you run the command at command prompt. It can only play WAV format and not MP3. I can settle for WAV playback and then move over to MP3 at...
-
I found this but I don't understand how to incorporate this.
http://www.jsresources.org/examples/SimpleAudioPlayer.java.html
|
Click Here to Expand Forum to Full Width
|