I think this is what you're looking for
********* Code removed Please don't spoonfeed
Type: Posts; User: usama8800
I think this is what you're looking for
********* Code removed Please don't spoonfeed
and what command should i pass in the Runtime.exec() method??
I'm how to programatically execute test.File with Paint.NET (equallent of right clicking test.File, clicking "open with", then selecting Paint.NET)
I have a file "test.File". I want to use java to run that file with a program eg. Paint.NET. How can I do that?
Doesn't seem to help. Here is the code
Image pic;
public Screen(){
pic = new ImageIcon("H://Workspace/Test/res/ball.jpg").getImage();
}
public void paint(Graphics g){
pic =...
How can i re-size big images to fit small boxes?
if _length and others are private then use set method but i don't think they make a difference until that class is for public(not the keyword) use.
can u tell me what kind of math operationns?
So your're saying it is impossible?
Assuming that i have a string "2+2", how do i solve that? i got the numbers and sign separated but cant add'em because + is a string. Is there any way i can do this?
what i think is that it needs
pacakge test;
at the top
Is there a way i can detect if im using windows 7, windows vista or windows xp?
Maybe you can make an alarm clock
Can i see the output??
i got the problem a while ago but cause of that while loop i had the pc crash with like 104486528745647560 windows but i got it now
type is the right word in my opinion
The output is 11:51 some hundred thousand times and when time changes on computer to 11:52, its still 11:51.
It has to go like 11:51 thousand times and when time changes on computer to 11:52, it...
I am trying to make something like an alarm and it goes like this
while(run){
System.out.println(temp.getTime());
if(temp.getTime()=="11:52"){
run = false;
...