Zaphod_b i see.Thank you again for all your help.You are one of the most helpful and laconic people i have ever met in a forum.Too bad that i know you only from here.But too good that i know you at...
Type: Posts; User: Samaras
Zaphod_b i see.Thank you again for all your help.You are one of the most helpful and laconic people i have ever met in a forum.Too bad that i know you only from here.But too good that i know you at...
Ok i copy pasted the code in an IDE.However it very helpful for others to wrap your code.
First class Author can not be public,so remove the public word.In your main you can not of course access...
Try wrapping your code like this //here your code Replace key with code in order this to work
Also which is the name that you have given to your project?
PS-welcome :D
1-the beep thing with the toolkit worked just fine
2-the simpleAudioPlayer also works :D :D
I played the notify file from C:\Windows\Media.However i got myself to download a random .wav file from...
I do not know how to handle java files from cmd.I use netbeans.
'\u0007' did not word either.
However i 'll focus on your 1st post. I feel bad for making you write so many words.Thanks again
System.out.println('\007'); did not work.Just a square is printed and i am on winXP.However you wrote a big post,so thank you for your effort.I am going to focus on it.Thanks again!
You have to wrap your code into this
<YOUR CODE GOES HERE?. Replace key with word code in order this to work.
About the third error, the constructor requires the 1st argument to be a String and...
Only this piece of code was ok from compile
public void soundTempo(){
JFrame f = new JFrame("Tempo Dial");
f.addWindowListener(new WindowAdapter() {
@Override
...
Can't make it work :/ Maybe i am not ready for this :/
1-I am Greek so i do not think that it was english fault.
2-Yeah i noticed too,but not something special :/ Also the right and left do nothing.
Thanks anyway
Oh my god,what i missed there?? :/ Of course AND is what i need!
Could i do the same thing by letting the user hit the arrows i said in the first post instead of w,a,s,d?
I input the character.The code goes into an infinite loop even though it is supposed(by me i admit) not to!
static char getInput() {
boolean error = false;
char c='n';
...
Hello everybody,
i now that the 'policy' is to post the code and based on this talk.But i have not an idea about this,so no code is written by me?
-So you came here without googling?
Of course...
Yes,i agree with you too :)
Thank you very much for you laconic answers.
Thank you very much.If no reference exists to the object,then it is going to be removed by garbage collector.
My question is.Will the temp variable will be set to null,so it is going to be de-allocated after the termination of the function?
NothingHere is a class.voidPositionList is a list.
private...
Copeg i also thought of what you said but i think is too much.
pbrocway2 check this example.
Inheritance.java
package inheritance;
public class Inheritance {
I agree about autoboxing but look at this
public String count(String x) {
if (x < 10 && x % 2 == 0)
...
I also thought that we were able to use the same functionality with the interfaces(a class can implement two or more intrefaces if wanted) but i do not think that is works for the class inheritance.
I remember that i had read that multi inheritance is not allowed in JAVA.So imagine the hierarchy is like this in my code
A
|
|
v
B
|
|
Is it ok to compare a string to a number?I do not think so
All i wanted is to make your life easier :/ I understand that i did not succeed in it.Now you told i'll keep that in mind ;)
Solved! :D I post it in order other people face the same problem :)
void spellCorrect() {
String temp = "";//holds a word at the time in order to check the correctness
char...
@Norm i wrote the lines of main that are invoke the method :)
@Zaphod_b the answer was Strings are immutable ( unlike the StringBuilder Class).Hitting stop run was also needed.I am going to fix it...