Hey thanks for the reply JavaPF
The solution worked great!=D> Only had a chance to get on and have a look at it today so sorry for the late reply.
Basically in my program i just added the...
Type: Posts; User: John
Hey thanks for the reply JavaPF
The solution worked great!=D> Only had a chance to get on and have a look at it today so sorry for the late reply.
Basically in my program i just added the...
Good afternoon all!
I've got a question again involving horrible xml!
I'm just curious does anyone know how i could write some code that places an open xml tag at the start of a file and a...
Ahh right got you now apologies, it works now.
For some reason i had it working differently in my head lol
Thanks mate
John
Yeah for my save and open commands i used JFileChooser.
I was thinking i might have to do something similar in order to call the file using the clean command.
I'll have a fiddle with it
...
Hey javaPF thats awesome.
To be honest i was trying to replace the main method with a consrtuctor but was coming up with all sorts of errors! Think i prefer it the way you have within one class.
...
Hey just wondering do you think it would be easier replacing the main method with a constructor or doing it all within the one class instead of having seperate classes?
Thanks
John
Hey all
Basically i've got a question about how to put two classes together if that makes any sense:o
The code below is for a GUI that uses a drop down menu.
The menu allows the user to open a...
Hey leandro thanks for the code.
In my code i replaced the following code:
p = Pattern.compile("\\s+");
with the regular expression you provided above:
p =...
Right i'm back again to pickle your brains (which is normally JavaPF lol ;))
Basically i've got some code below which removes all the whitespace from a text file.
Originally it read through the...
Wahoo it worked!!!!=D>
I think i must have been navigating to the wrong directory when i was trying to execute it! I'm a complete idiot!
Thanks for that!
Right basically i've got my program...
Emm no i use JCreater.
Think this is another problem that i may have to deal with later amongst others lol.
I mean it still saves files of a smaller size, but the sizes of .wmdb can vary.
I...
When i try the command: java -Xms32m -Xmx128m it comes upwith the following:
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile...
I've got 1GB of RAM and the CPU usage seems to vary between 30 and 60% when the program is running :(|)
Hey i've posted my code below
Do you think there could be a problem in my coding that may be causing this? :(|)
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import...
Hey cheers for the reply
I've tried to change it in the control panel but it's at its maximum and it doesn't seem to work either when i try to do it via the command prompt.
The program still...
Hi i'm creating a program that opens a file and then sends the output to the GUI. If the user wishes they can then save a copy of the output to another file.
My program seems to open files without...
Hey thanks for taking time to look at it. I'm still working on it, but i've got another problem!
I'll post it in a new thread though
To be honest the xml for each piece of media appears quite randomely. Generally the xml tags for each piece of media are similar however some of the media contains xml that others don't. The file i...
Hey thanks for taking time to look at the file, it's much appreciated.
I'm just curious do you think using regular expressions to parse the xml would work?
John
Hi guys
Further to a previous post that i made i've been trying to print some xml from a .wmdb (windows media database) file. The file itself basically stores metadata about media that has been...
Cool i will check that out
Thanks again for your help
John
Yeah it did thanks. It printed the artist and track title which was all the file contained.
On the subject i was also trying to print the content of a .wmdb (windows media database) file. This is...
Ahh right i see, got you now
It worked, thanks
Hey JavaPF
I appear to be getting the following error whenever i try to run the program:
Error ? java.lang.NullPointerException
Basically i've copied the mp3 into the directory were the program...
Thanks leandro,
I will be sure to check that out as well.
I'm open to all solutions! lol
Thanks again