| Home | » | Java | » | Advance Java | » | Java Swing II | » | JTextPane |
|---|
A text component that can be marked up with attributes that are represented graphically.
| Method or Constructor | Description |
|---|---|
|
JTextPane() JTextPane(StyledDocument) |
Creates a text pane. The optional argument specifies the text pane's model. |
|
StyledDocument getStyledDocument setStyledDocument(StyledDocument) |
Gets or sets the text pane's model. |
A Simple example of JTextPane...
C:\>jdk1.4\bin>javac JTextPaneDemo.java
C:\>jdk1.4\bin>java JTextPaneDemo
|
||
|
Download Complete Program |


Thanks for sharing valuable information.
ReplyDeleteJava Training with Placements