Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JEditorPane draw a rectangle  RSS feed

 
andrea regina buegler
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

in my frame exists JSplitPane. 2 JEditorPanes were added to the JSplitpane.
Then with click in the left JEditorPane

The right JEditorPane
--> some more classes were used and one of then has paint-Method . This paints a rectangle.

With some more clicks -on the left side -in another lines, new rectangle -right side-was painted.

The last ones shouldn't be there.

Could someone help me with that? sorry my english isn't the best.

Thanks Andrea
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!