User Profile

Collapse

Profile Sidebar

Collapse
dishal
dishal
Last Activity: Jun 21 '07, 05:40 AM
Joined: Jun 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dishal
    started a topic Converting Java Applet to JFrame
    in Java

    Converting Java Applet to JFrame

    Can anyone help me please? How do I convert these codes to launch from a JFrame instead of a Java Applet?



    A simple program where the user can sketch curves and shapes in a
    variety of colors on a variety of background colors. The user selects
    a drawing color form a pop-up menu at the top of the
    applet. If the user clicks "Set Background", the background
    color is...
    See more | Go to post

  • dishal
    started a topic Serialization, BufferedImage and Whiteboard
    in Java

    Serialization, BufferedImage and Whiteboard

    I have a whiteboard I'm working on at the moment but I have no idea how i should transport the user's input on the canvas to the recipient. Someone suggested using BufferedImage.

    Can anyone please explain to me what Serialization and BufferedImage are, what they do, and how they work?? And how I should implement them in a whiteboard??
    See more | Go to post

  • dishal
    started a topic Problem with typing on JPanel
    in Java

    Problem with typing on JPanel

    Hi, Im having a problem with typing on the JPanel. The thing is, that it works perfectly fine when this line " content.add(jp, BorderLayout.NO RTH); " is taken out (its the buttons panel) but when its added back in, i simply cannot type! HELP!!!!



    Codes are as follow:


    [CODE=java] import java.awt.*;
    import javax.swing.*;
    import java.awt.event. *;
    import java.lang.Strin gBuffer;...
    See more | Go to post
    Last edited by r035198x; Jun 18 '07, 05:39 AM. Reason: added code tags

  • dishal
    replied to problem with printing text on a JFrame
    in Java
    Thanks for all the help! You're awesome :D...
    See more | Go to post

    Leave a comment:


  • dishal
    replied to problem with printing text on a JFrame
    in Java
    It works fine now but when i try to backspace it, I get little boxes (the kind you get when typing a foreign lang) any idea how i can get rid of it?...
    See more | Go to post

    Leave a comment:


  • dishal
    replied to problem with printing text on a JFrame
    in Java
    Can you help me out here? What should I add in? I'm a novice at this :-|...
    See more | Go to post

    Leave a comment:


  • dishal
    replied to problem with printing text on a JFrame
    in Java
    Yes it has already been initialized. I just dont seem to the a problem with the codes and I really have not a clue why it doesnt work.
    See more | Go to post

    Leave a comment:


  • dishal
    started a topic problem with printing text on a JFrame
    in Java

    problem with printing text on a JFrame

    Hi, im having a major problem with printing text on a JFrame. This is a simple whiteboard I'm doing but i just cannot seem to print the text properly. It prints all the alphabets on the same point (all the alphabets are piled on top of each other) instead of printing it incrementally like "this is a random string". Can anyone please help me???

    Here's what I have so far:

    [CODE=java] import java.awt.*;
    import...
    See more | Go to post
    Last edited by r035198x; Jun 11 '07, 07:21 AM. Reason: added code tags
No activity results to display
Show More
Working...