Hi all.
I did post a quetion before but, no body answered it yet.
I need to get the components into a JEditorPane wich are created by the HTMLEditorKid while it parses an HTML file with some input tags. I mean it is like a browser that loads an html page with a form inside, so when those components that refers to the input tags are full filled i must get its respective values, and work with those values....i do already look for that components and i know those are a javax.swing.text.html.FormView instace(each one) but i just can get an array of Components[] c, from ths JEditorPane component...
 
JEditorPane pane=new JEditorPane();
HTMLDocument doc= new HTMLDocument();
pane.read(new FileInputStream("input.html"),doc);
   // still here no problems..the page is loaded into the pane component and shows to the user..
.......
Component[] c=pane.getComponents();
for (int i=0;i<c.length;i++)
 System.out.println(c[i].toString());
.......
the output are some instance of ComponentView(the FormView parent's class)
something like this
javax.swing.text.ComponentView$Invalidator[,43,3,55x21,layout=javax.swing.OverlayLayout]
.
.
.
......and so on.
 
have you work with this before...have some idea of the problem....any sugestion..????
 
thanks in advance Romel.
 
 
------------------------------------------------------
Romel Calero Ramos
Est. Ciencia de la Computaci�n
Universidad de La Habana

Reply via email to