yes you can convert the image data to base64 and set as html content without need to any extra file or storage or file path etc. img src="data:image/png;base64, iVBOR..rkJggg=="
yes you can convert the image data to base64 and set as html content without need to any extra file or storage or file path etc. Taken from wikpedia
what do you mean by security updates? windows update or firewall/antivirus? we had problems with node32/eset updates and generated some firewall rules (whiltelist exceptions) on the firewall
Thank you for your response. I understood now. Thats why it is not working properly even if setting through System.setProp.. because it is too late. I found this: If an existing application embedds a heavyweight component in a frame, and at the same time installs a custom glass pane, the heavyweight component will disappear. https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6788954 Here we have to manipulate the handling of jxlayer manually until there is a fix to icedtea. (If they plan adding...
thank you four your valuable reply. but i have a question, I already added hardcoded System.setProperty.. in my code. So then even if missed, it should be working. But I have found another interesting clue, I generated a simple project from your default DJBrowser example, but I wrapped the jwebbrowser into a jxlayer (org.jdesktop.jxlayer) which we use in our project for glasspane handling. when run with eclipse (openjdk runtime) it works fine, and when run as batch it works file. But when with openjdk+icedtea...
I have been using dj browse with all versions of oracle on all windows releases without problems. but on adopt openjdk (https://github.com/AdoptOpenJDK/IcedTea-Web) with version openjdk1.8.x we got following problems: as it is known, becasue we use hw with lw objects we set sun.awt.disableMixing to true. If we do not set that we have problems with rendering html objects (they remain gray etc) with openjdk when run without icedtea (through terminal with java exe and classpath) -Dsun.awt.... it works...
Hi. Thanks you for your quick support. When I first encoutered the issue, I tried setting the Dorg.eclipse.swt.browser.IEVersion 10000 or 11000. I had similar issues before this case, where we were setting the content, when I added the X-UA-Compatible meta tag the problem was resolved until this problem. In this case the content generated by BI has already the X-UA-Compatible meta tag at the top of the document. I also tried some meta tag setting after the document has been loaded through executing...
you have to use swt-4.3-win32-win32-x86_64.jar and remove ..win32-x86.jar
I have been using djbrowser for more than 5 years without problems. But currently, we issue a problem, we render very complex charts, tables, graphs, lists from a BI intelligence tool. The perform navigation to an internal url which is not externally possible due to the commercial license issues. We do not set any content, we just perform navigation. But the address of the pages are not public open. We have been using this tool for 2 years without problems with djbrowser. But with their recent update...
hi. dj browser users some native from swt and which use native dll libraries. the rule is your jvm architecure must match the arch of the native libraries. it is not very important if your computer is 32 or 64. for example: your computer is 64 bits, you may use a 32 bits jvm and use swt-4.3-win32-win32-x86.jar or your computer is 64 bits you continue with your current 64 bits jvm but you must use 64 bits version of swt libraries (swt-4.3-win32-win32-x64)
do you use protection programs such as malwarebytes? I have been using it for a long term and recent updates of that software started causing the same problem but randomly, not always. Reason is sometimes the DJ can not get the ports becauae mwb blocks and finds the action suspicious.
latest swt solved the issue.
I use latest dj with swt on a windows 10 laptop with high density resolution (4K) If we an html content which contains elements with font size set as style for example .test { font-size: 35px;font-family: Arial;} the rendered output seems different when the html is opened with IE11 or edge. (In the IE we have bigger output of elements) The reason is not really dj, if we try that with swt, the outputs are different. But how can we overcome this issue? I think IE performs some postprocessing on high...
Same problem occurs with a swt browser example. The problem is not dj related, it is swt related but i welcome suggestions. Problem is, on a computer with very high resolutions, the elements with specified font size for example 20px appear in different size when in dj or swt when compared to directly internet explorer.
Hi. When I set some html content to djbrowser, the elements with to which we specify the font size with css seems smaller when we open the content with internet explorer. For example: <html> <head> <style> .test { font-size: 45px;font-family: Arial;} </style> </head> <body> <div class="test">TEST</div> </body> </html> We see that when we set this content to djbrowser using demoapp, the test div has smaller letters when we save the content as html and open with internet explorer. The system: OS: Windows...
Hi. When I set some html content to djbrowser, the elements with to which we specify the font size with css seems smaller when we open the content with internet explorer. For example: <html> <head> <style> .test { font-size: 45px;font-family: Arial;} </style> </head> <body> <div class="test">TEST</div> </body> </html> We see that when we set this content to djbrowser using demoapp, the test div has smaller letters when we save the content as html and open with internet explorer. The system: OS: Windows...
Hi. When I set some html content to djbrowser, the elements with to which we specify the font size with css seems smaller when we open the content with internet explorer. For example: <html> <head> <style> .test { font-size: 45px;font-family: Arial;} </style> </head> <body> <div class="test">TEST</div> </body> </html> We see that when we set this content to djbrowser using demoapp, the test div has smaller letters when we save the content as html and open with internet explorer. The system: OS: Windows...
I again suggest with looking YourKit java profiler with garbage collection, leaks, resources etc
it seems that it fails after a long period, it is possible a memory problem (leak or overflow). try running your application with a profiler with memory extensions, for example yourkit.
Hi. Thanks for the reply. The multi interface approach is working fine. Your code was fine, It took me only few hours to modify. By the way, I also checked the chromium based projects cef or jcef, but it has also hundreds of bugs, problems, exceptional cases etc and lots of portability issues.
Thanks for the reply. I solved by using a temporarily awt text field, when focus set from dj browser to an swing textfield, this temp awt object gets the focus first and redirects to swing.
To generate the issue (latest dj + swt4.3 + java 1.8 current + IE 11.0) add a simple swing JTextField to a simple djbrowser test example application. (Simple Web Browser example in the demo for example). add an awt TextField to the application. navigate the dj browser to google.com or set the html content to <html><input type="text"></html> focus to the input field on the djbrowser. focus to the swing text field. try typing a character which needs alt key combination for example @ or |. It will fail....
To generate the issue (latest dj + swt4.3 + java 1.8 current, IE 11.0) add a simple swing JTextField to a simple djbrowser test example application. (Simple Web Browser example in the demo for example). add an awt TextField to the application. navigate the dj browser to google.com or set the html content to <html><input type="text"></html> focus to the input field on the djbrowser. focus to the swing text field. try typing a character which needs alt key combination for example @ or |. It will fail....
To generate the issue (latest dj + swt4.3 + java 1.8 current, IE 11.0) add a simple swing JTextField to a simple djbrowser test example application. (Simple Web Browser example in the demo for example). add an awt TextField to the application. navigate the dj browser to google.com or set the html content to <html><input type="text"></html> focus to the input field on the djbrowser. focus to the swing text field. try typing a character which needs alt key combination for example @ or |. It will fail....
Thank you for your detailed reply. I switched to the latest swt as you said. I spent one week and found some clues. Firstly I added the IE.class and added some logging (slf4j) and looked what happens. After opening the complex page and closing it, and generating a fresh JBrowser instance, the javascript code document.write(foo) is executed immediately, <15ms, if we call document.open();document.write(foo) takes 200-300ms and and setHTML(foo) takes 600-800ms as I said before. If you try them without...
Thank you for your detailed reply. I switched to the latest swt as you said. I spent one week and found some clues. Firstly I added the IE.class and added some logging (slf4j) and looked what happens. After opening the complex page and closing it, and generating a fresh JBrowser instance, the javascript code document.write(foo) is executed immediately, <15ms, if we call document.open();document.write(foo) takes 200-300ms and and setHTML(foo) takes 600-800ms as I said before. If you try them without...
I changed setHTML to runAsync, but again it is slow (after using the complex web application) Interestingly, when i call setHTML even if aynsc it takes 800ms-1500ms but when I call executeJavascript('document.write("... it is fast always.
i tried with swt 4.8, same result i reset the complex web page before dispose, but nothing changed i called garbage collectors for nativeinterface apps, no change (in the profiler you see that is not a memory related problem) when analyzed with a memory profiler, there is not huge increase in the memory usage so the methods above did not help much. but i found some interesting point: at the time, where setHTMLContent performs slowly, we can also set the content of the JBrowser with jWebBrowser.executeJavascript("document.body.innerHTML='...'");...
i tried with swt 4.8, same result i reset the complex web page before dispose, but nothing changed i called garbage collectors for nativeinterface apps, no change (in the profiler you see that is not a memory related problem) when analyzed with a memory profiler, there is not huge increase in the memory usage so the methods above did not help much. but i found some interesting point: at the time, where setHTMLContent performs slowly, we can also set the content of the JBrowser with jWebBrowser.executeJavascript("document.body.innerHTML='...'");...
I use DJBrowser latest on a windows 10, the internet explorer is 11 (latest) We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("test"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple...
I use DJBrowser latest on a windows 10, the internet explorer is 11 (latest) We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("test"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple...
I use DJBrowser latest on a windows 10, the internet explorer is 11 (latest) We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("simple"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple...
I use DJBrowser latest on a windows 10, the internet explorer is 11 (latest) We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("<test">"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple...
I use DJBrowser latest on a windows 10. We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("<test">"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple content to B1 with setHTML takes 1-2...
I use DJBrowser latest on a windows 10. We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("<test">"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple content to B1 with setHTML takes 1-2...
I use DJBrowser latest on a windows 10. We have two instances of JWebBrowser B1 and B2. We set simple content to B1 by using jWebBrowser.setHTML("<test">"); ir works in 15miliseconds. Then we navigate B2 to a page which contains very very complex javascript/html/css (to a framework which contains many big tables, reports, pivot tables, a huge web based application) After we use the complex action on the B2 and even if we dispose B2 instance, when we set a simple content to B1 with setHTML takes 1-2...
you may say more than nothing happens to solve it. do not you anything on the java console? did you enabled the debug mode (printing debug messages), some antivirus and firewall may block the ports.
there may be some blocking softwate firewall, antvirus etc. or port blocker
try setting the chrriis.dj.nativeswing.swtimpl.NativeInterface.getConfiguration().setPeerVMParams("-Dorg.eclipse.swt.browser.IEVersion=11000"); on the start of your program BEFORE opening the NativeInterface by NativeInterface.open() call suppose that your version of native Internet Explorer is 11.0, you may also set IEVersion=10000. The defaullt is below the current ones and some enhanced features may fail like your case another example is the google charts.
try setting the chrriis.dj.nativeswing.swtimpl.NativeInterface.getConfiguration().setPeerVMParams("-Dorg.eclipse.swt.browser.IEVersion=11000"); on the start of your program BEFORE opening the NativeInterface by NativeInterface.open() call
try setting the chrriis.dj.nativeswing.swtimpl.NativeInterface.getConfiguration().setPeerVMParams("-Dorg.eclipse.swt.browser.IEVersion=11000");
Hi, AFAIK, there was no support for macosx since last years because of swt + java issues, but in recent posts, i see people getting some different error messages but managed to work dj with mac. What is the situation? What is the stability or supported environments?
the case can be generated with latest dj + ie 11 (updated) it is also not possible...
the case can be generated with latest dj + ie 11 (updated) it is also not possible...
hi this forum is for djbrowser only and not javafx related.anyway i have implemented...
if you can do that with IE, then you can do it with JBrowser by executing some js...
hi i am using dj native swing with more than thousand installations without any problems...
It has not direct relation to dj. If you can get the event video finished in html/js...
Hi I tried with latest. I found the issue. If test with the example appliaction on...
yes you are right! with current swt it works fine. Thank you for support and res...
I set some content which uses googlemaps api and shows a map. When I set the content...
I set some content which uses googlemaps api and shows a map. When I set the content...
I set some content which uses googlemaps api and shows a map. When I set the content...
hi I had the same issue with google charts (where we have some complex ajax structure)...
you mean editor or viewer? if you want to set default css to djbrowser (view mode),...
i had also problems with tabs. after some tab switches, the browser begins flickering,...
there is no possibility to work dj on macosx. no hope.
you should think your process independent to the dj browser. that is not a good idea...
hi, the changes are only done to the ckeditor files without touching the dj. We have...
thank you for the efforts done for focus handling, i will also try changes with the...
hi i solved it with: the problem is onblur event, which gets triggered on the ck...
hi i solved it with: the problem is onblur event, which gets triggered on the ck...
but, if you use the editor html containing CK directly in IE or in firefox there...
additional information: as i said before, while editing, if you right click, a menu...
i use latest dj libs, with latest ckeditor. problem occurs on ie11 (not tested on...
forget the compare above. it is same as tinymce 3.4.9 and 4.1.6 the difference is...
hi. i tested with latest tinymce 4.1.6 interesting results: use ie11 + kb, windows...
hi. problem description: scenario: use tinymce html template which contains an editor,...
hi. problem description: scenario: use tinymce html template which contains an editor,...
hi. problem description: scenario: use tinymce html template which contains an editor,...
use djbrowser. see old topics. no other way possible.
Here is forum for djproject, javafx is alternative to that. You are in wrong environment....
enable this options and see what is being logged Could it be that the local IP that...
Could it be that the local IP that is found is not 127.0.0.1? -Dnativeswing.localhostAddress.debug.print=true...
In NetworkURLClassLoader i added some hashtables keyed by class name and byte content....
10 will not be enough. suppose we have a large class to fetch. the size of the chunks...
hi thank you for your valuable support. I will continue with dual process mode as...
hi - as i said, the problem occurs SOMETIMES on the problematic computer. If there...
Another example, we do 5 test, 4 ok, 1 fails: on the requesting side we have 4 times:...
The readtimeout occurs on the last piece of data send, i mean suppose we are fetching...
Can be reason the content length is set to -1 on the WebServer?
hi. i tested many java versions 6 and 7. i have two desktops, one windows 7 one windows...
i did not see any problem with windows 8.1 + latest java 7 + current swt and dj....
did you try the with ie? (without dj)
you can only load a single html by using file approach, the resources in the html...
the java related bugs continue in java 1.8 i do no not see any hope that oracle will...
no. i used many browser and i can say using thread.sleep is a very bad solution....
I use IE11 + java 1.8 latest dj works well i did not any face any issue did anyone...
add a webbrowser listener to the jwebbrowser instance and look whats happening on...
add a webbrowser listener to the jwebbrowser instance and look whats happening on...
i do not suggest using upload window of browser. there is another bug of windows...
i do not suggest using upload window of browser. there is another bug of windows...
hi use: jWebBrowser.navigate("c:\\user.home\\mycontent.html");
hi use: jWebBrowser.navigate("c:\user.home\mycontent.html");
i do not understand what do you mean by snapshot but if you want to block opening...
i do not understand what do you mean by snapshot but if you want to block opening...