|
|
Create a Word / Text Tagger in Java Swing
Hi ,
I am new to using java swing , i need help
To create a tagger so that i once open a text file in teh editor i
have
created using Java Swing
i can Tag any word in the text file by selecting that word, change
color of the word when i tag it
then can save this tagged file to the flat file system and close it
Next time when i open the same file I should see tagged word in color.
Many thanks for an early reply to this query
Best regards
Rajeev
for eg : if the sample Input file is
i looked at teh big wolf coming my way, i got thrilled
then the sample output file (when user opens the above file next time)
i looked at <green>teh </green> big wolf coming my way, i got
<red>thrilled</red>
create tag using java swing
|
|
0
|
|
|
|
Reply
|
rajeev_office
|
7/30/2003 3:30:06 PM |
|
http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/index.html
could be a starting point.
Why are you not using HTML syntax <font ...> </font> instead, then
you could use javax.swing.JEdtiorPane with setContentType("text/html");
HTH,
sandip
rajeev_office@yahoo.com (Rajeev) wrote in message news:<3551bc33.0307300730.19a840be@posting.google.com>...
> Hi ,
>
> I am new to using java swing , i need help
>
> To create a tagger so that i once open a text file in teh editor i
> have
> created using Java Swing
>
> i can Tag any word in the text file by selecting that word, change
> color of the word when i tag it
> then can save this tagged file to the flat file system and close it
> Next time when i open the same file I should see tagged word in color.
>
> Many thanks for an early reply to this query
>
> Best regards
>
> Rajeev
>
>
> for eg : if the sample Input file is
>
> i looked at teh big wolf coming my way, i got thrilled
>
> then the sample output file (when user opens the above file next time)
>
> i looked at <green>teh </green> big wolf coming my way, i got
> <red>thrilled</red>
>
> create tag using java swing
|
|
0
|
|
|
|
Reply
|
sandipchitale
|
8/1/2003 5:08:27 PM
|
|
|
1 Replies
206 Views
(page loaded in 0.298 seconds)
Similiar Articles: JTable Column with Multiple Types - comp.lang.java.guiI'm very new to Java Swing and I'm trying to create a JTable. I need a column of the table to ... JTable - how to align header text with cell data??? - comp.lang ... ... HTML link or Hyperlink in a Java Panel - comp.lang.java.gui ...... expert out there know how to create a HTML link or Hyperlinnk in a Java ... public HtmlButton(String text ... Mouse listener in Swing Japplet - comp.lang.java.programmer ... JTable: auto resize row height - comp.lang.java.guiHello! In a classic JTable, with default cell renderer, if cell's value is too big to fit, the default renderer shows some text and "...". I'm lookin... Custom tooltip renderer in JTable - comp.lang.java.guiBasically > the cell is a large chunk of text, and I'd like to display it in the > tooltip. Swing ... tooltip renderer in JTable - comp.lang.java.gui How to Wrap Text in ... Cut/Copy/Paste Don't Work for Tables? - comp.lang.java.programmer ...Using native cut copy paste in JTable - comp.lang.java.gui ... Swing Copy Problem - comp.lang.java ... comp.soft-sys.matlab ... copy of a table out of a pdf file - comp.text ... A splash screen - comp.lang.java.gui... import javax.swing.*; import java.awt.*; public class SplashPanel extends JPanel ... Why not include a white 600x120 png with red text 'splash image'? I could ... How does one find the terminal's width within the JVM? - comp.lang ...... this is so that I can print text using an actual "word ... - It is trivial to text wrap at the correct places using AWT or Swing based GUI ... java.gui Also, when writing java ... How to open Outlook Express in java code - comp.lang.java.gui ...... When i develope the aplication by swing,i ... with click botton (javascript) - comp.text ... Express in java code - comp.lang.java.gui ... ActiveX Component can't create ... DoubleClick Combo Box to set to Null - comp.databases.ms-access ...disable jcombobox item - comp.lang.java.gui DoubleClick Combo Box to set to Null ... Me.Combo343.Value = "" it's not null but text when i write ... isnull (Me.Combo343 ... Popup similar to Tooltip - comp.lang.java.programmer... sleep(###) and catchThen I can see the word "Done in the label, then I can't make ... just a> moment or two before the text would ... hide(); your problem is you made the Swing ... Creating a text file tagger using java swingHi , I am new to using java swing , i need help To create a tagger so that i once open a text file in teh editor i have created using Java Swing i can swing - How to create 3D Tag Cloud in Java - Stack OverflowI need a suggestion/idea how to create a 3D Tag Cloud in Java (Swing) (exactly like shown here: http ... After that it's just a matter of using some text drawing class, such ... 7/26/2012 1:21:24 PM
|
|
|
|
|
|
|
|
|