Java, replace single char occurence with drawPolygon. Applet

Code with C | Programming: Projects & Source Codes Forums JAVA Programming Java, replace single char occurence with drawPolygon. Applet

This topic contains 0 replies, has 1 voice, and was last updated by  HeatherKort 2 years, 6 months ago.

  • Author
    Posts
  • #10934

    HeatherKort
    Member

    Hello, for my course ive been asked to write an applet that has numerous functions from whatever the user writes into a text box. This includes whenever my initials arise in the text box they have to be replaced by a polygon i have drawn, of that letter. I have numerous methods all that aren’t working as a polygon cannot replace a string. I have the initials saved as a global variable sl1 and sl2. I have used replace.All(sl1, (nameofpolygonfunction)) but this won’t work. Anyone can help with this?

You must be logged in to reply to this topic.