-
using HTMLPanel in Cobra...I know how to set the scroll position.
But I want to be able to get the position, so I can reset it later after re-rendering part of the document.
How do I get the vertical scroll position?
Thanks.
2009-10-08 08:05:34 UTC in Lobo - Java Web Browser
-
It appears that calling methods such as alert internally, at least when called from an 'A' element, result in a call to linkClicked, which in turn calls navigate...so unless someone suggests something better I'm going to have to override this method in such a way as to not call navigate for every link that is clicked.
2009-10-06 00:47:36 UTC in Lobo - Java Web Browser
-
Links in Cobra rendered HTML in an HTMLPanel do not get the hand cursor that I would see as mandatory in a production environment.
Others have asked this and I've came up with a solution that might not be obvious to a new Cobra user so I thought I would post it here.
You just need to subclass SimpleHTMLRendererContext (if you have not already rolled your own) and override the onMouseOver...
2009-10-06 00:37:29 UTC in Lobo - Java Web Browser
-
I am using the Cobra HTMLPanel in a swing application. I am sending the HTML to the control using the setHtml function.
Here is my code where I load the html:
UserAgentContext ucontext = new SimpleUserAgentContext();
SimpleHtmlRendererContext rcontext = new SimpleHtmlRendererContext(myHTMLPanel, ucontext);
ResultsAnalysis analysis = new ResultsAnalysis();
String...
2009-10-05 23:50:49 UTC in Lobo - Java Web Browser
-
All of the *DAO.java files I am generating (both in the acme example and when I generate for my DB) are empty (except for the comment header).
Am I missing something or is this normal?
Thanks.
2009-01-13 10:31:20 UTC in SQL to Java Code Generator
-
I had the compile problem noted in this item, in which the issuer notes that appending getMessage() to the cause variables in DAOException.java fixes the problem.
My question is: is there a template or something where we can make this change or are we stuck writing and using some sort of replace script until this gets fixed?
Thanks.
2009-01-13 03:18:21 UTC in SQL to Java Code Generator
-
Logged In: YES
user_id=690120
Sorry, I was mistaken. The server I was testing on had the
RealVNC server running and not TightVNC. So revise my
comment to say if you need dual monitor you can try RealVNC.
2006-01-23 16:33:15 UTC in TightVNC
-
Logged In: YES
user_id=690120
Not sure what you are trying to do but I can see both
monitors just fine. I can see both at once if I scale or I
can scroll and see them actual size.
2006-01-20 23:07:11 UTC in TightVNC
-
I have a mapping file with the following relevant elements:
--------------------------
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="orm.Studentevents,orm" table="studentevents">
....
<property column="steBinaryData" type="byte[]" name="SteBinaryData" />
</class>...
2005-04-08 00:02:49 UTC in NHibernate
-
Thanks.
Or maybe rather than your assumption that I didn't bother to check the read me file the fact is that I didn't see that because it was no where near where the wizards are discussed and by the time I got to that point in the file I was already just a bit frustrated over all of the nonexistent files/directories referred to in the file up to that point ("AppWiz70\Files" and...
2004-11-06 03:51:21 UTC in Windows Template Library (WTL)