Results 1 to 2 of 2
Like Tree2Likes
  • 2 Post By KevinWorkman

Thread: Draw Strings on JPanel

  1. #1
    Join Date
    Mar 2011
    Parma Italy
    Rep Power

    Default Draw Strings on JPanel

    HI all,

    I have JPanel on a JFrame, I would like to draw Strings by left mouse clicking and inputing characters by keyboard, i.e. write custom string(s) after left mouse click, and start writing in xStart, yStart

    Any help appreciated



  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power

    Default Re: Draw Strings on JPanel

    Which part of this is giving you trouble? Displaying something? Drawing Strings at a certain position? Getting input from the mouse? Getting input form the keyboard?

    I recommend you break this down into smaller pieces and work on each piece on at a time. Then you can ask a more specific question when you get stuck on a specific step.
    Fubarable and DarrylBurke like this.
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

  1. How To Draw Objects Not On A JPanel
    By anthropamorphic in forum New To Java
    Replies: 18
    Last Post: 08-11-2011, 05:55 AM
  2. Draw integers like strings
    By MartyP in forum AWT / Swing
    Replies: 2
    Last Post: 03-16-2011, 04:36 AM
  3. Draw on JPanel?
    By PhQ in forum New To Java
    Replies: 2
    Last Post: 07-16-2010, 11:19 PM
  4. Replies: 2
    Last Post: 03-22-2009, 01:53 PM
  5. Draw on JPanel, Help
    By carl in forum Java 2D
    Replies: 1
    Last Post: 07-31-2007, 06:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts