Search:

Type: Posts; User: usama8800

Search: Search took 0.30 seconds.

  1. Replies
    6
    Views
    179

    Re: getPerimeter of a rectangle

    I think this is what you're looking for
    ********* Code removed Please don't spoonfeed
  2. Replies
    5
    Views
    256

    Re: Executing a file

    and what command should i pass in the Runtime.exec() method??
  3. Replies
    5
    Views
    256

    Re: Executing a file

    I'm how to programatically execute test.File with Paint.NET (equallent of right clicking test.File, clicking "open with", then selecting Paint.NET)
  4. Replies
    5
    Views
    256

    Executing a file

    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?
  5. Replies
    4
    Views
    369

    [SOLVED] Re: Image Resizing

    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 =...
  6. Replies
    4
    Views
    369

    [SOLVED] Image Resizing

    How can i re-size big images to fit small boxes?
  7. Replies
    1
    Views
    242

    Re: constructor issue

    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.
  8. Replies
    4
    Views
    712

    [SOLVED] Re: How to convert from string to math sign

    can u tell me what kind of math operationns?
  9. Replies
    4
    Views
    712

    [SOLVED] Re: How to convert from string to math sign

    So your're saying it is impossible?
  10. Replies
    4
    Views
    712

    [SOLVED] How to convert from string to math sign

    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?
  11. Re: Main method/ class problem. I can't run any script!

    what i think is that it needs

    pacakge test;

    at the top
  12. Replies
    1
    Views
    301

    [SOLVED] detecting pc type

    Is there a way i can detect if im using windows 7, windows vista or windows xp?
  13. Replies
    10
    Views
    1,285

    Re: Project Ideas to keep me busy?

    Maybe you can make an alarm clock
  14. Replies
    11
    Views
    416

    Re: String question

    Can i see the output??
  15. Replies
    5
    Views
    292

    [SOLVED] Re: Help with time

    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
  16. Replies
    15
    Views
    536

    Re: One simple question...

    type is the right word in my opinion
  17. Replies
    5
    Views
    292

    [SOLVED] Re: Help with time

    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...
  18. Replies
    5
    Views
    292

    [SOLVED] Help with time

    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;
    ...
Results 1 to 18 of 18