Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Andrew Thompson" Subject: Re: controllable java HTM Message-ID: <73a45693bae3a@uwe> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <1181745066.175232.78980@g37g2000prf.googlegroups.com> References: <1181745066.175232.78980@g37g2000prf.googlegroups.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 46 Date: Wed, 27 Apr 2011 15:35:34 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918534 96.60.20.240 (Wed, 27 Apr 2011 10:35:34 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:35:34 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1827 To: comp.lang.java.gui Kevin wrote: >Does anyone know any good "controllable" java HTML render? > >By "controllable", what I want is: > >1) I may not need to "physically" output the render result on screen, >render it in memory is all I need. >2) but I want to know each item's location after render! Why?* >For example, for this page, I want to know the relative (with respect >to the upper left (0,0)) location of the "My Groups", "Sign In", "Sign >Out", the location of the header of this post, etc. >In another words, I want to know: >Item/tag with value "My Groups" locates at pixel (600, 10) on the >screen after render. >Item/tag with value "New post" locates at pixel (700, 250) on the >screen after render. etc. > >Any idea of it? * I know of pages where all these values would change according not only to the user's screen size/resolution and default font size, but also according to how much of the screen area (width/height) the user is willing to provide to the *rendering* *component* that displays it, at that particular instant. (As well as stylesheets that the user might use to overide the default look of pages, and a bazillion other things..) What are these pages? Are they all controlled by you? Are they all known in advance (e.g. off one site)? -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200706/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24