Issues in Java Browser. Urgent !
I developed a simple Java browser using JEditorPane+HyperlinkListener,but it can't support HTML scripting languages.
Are there some buildin API or other supportive packages developed by third party which can do HTML scripting translating?
I will very appreciate your help if you can help me out.
Hi,buddy! I have no idea how to embed Gecko, could you
give me some details. Thanks a million.I haven't tried to do it (it takes too much time for me , and there's no point in doing it, since the HTML 3.2 and limited CSS stuff is enough... I do hope they will move the HTML support to a higher level, i.e. full HTML4.1/CSS2 compliant)
Read the FAQ:
http://www.mozilla.org/projects/embedding/faq.html
There also some projects around using an embedded gecko.
Similar Messages
-
Making a java browser component for Mac platform(Urgent)
I was trying to make a simple java browser component from scratch for running on Mac platform. I was using JFrame/JEditorPane. Although JEditorPane can open web pages but it can't support Javascript, flash and other interactive features of many websites. Does anyone know any way to make JEditorPane support javascript?
I also researched on JDIC java web browser, but unfortunately they don't support for Mac yet. Is there any free third party tool available which I can use?
Any quick help is appreciated. Thanks.I was trying to make a simple java browser component from scratch for running on Mac platform. I was using JFrame/JEditorPane. Although JEditorPane can open web pages but it can't support Javascript, flash and other interactive features of many websites. Does anyone know any way to make JEditorPane support javascript?
I also researched on JDIC java web browser, but unfortunately they don't support for Mac yet. Is there any free third party tool available which I can use?
Any quick help is appreciated. Thanks. -
CSS Layout issue!! Help Urgent!!
I am having a problem with creating a css layout, in the past i used tables and am trying to convert my sites for my customers. I have layed out the website using divs and css and it looks great until i put in the cosing of the menu bar. when i put in the coding for the menu bar suddenly the bar has a padding around it but i cannot find a padding that would change this in the css coding. I need this done asap! so please help. ill show my coding below:
this is the div coding:
<div id=Nav>
<ul class="dropdown" id="Bar"; width: 879px" name="Bar">
<li class="style16" style="width: 161px; height: 22px">
<a href="default.html" style="width: 146px">Home</a></li>
<li class="style10" style="width: 169px; height: 23px">
<a href="about.html" style="width: 153px">About</a></li>
<li class="" style="height: 31px; width: 175px; left: 0px; top: 0px">
<a href="Equipment.html" class="style18">
<div class="style10" style="width: 156px; height: 20px;">
Equipment</div>
</a> <ul class="sub_menu">
<li><a href="compressor.html">Air Compressors</a></li>
<li><a href="compactions.html">Compaction</a></li>
<li><a href="concrete.html">Concrete Equipment</a></li>
<li><a href="forklifts.html">Fork Lifts</a></li>
<li><a href="generators.html">Generators</a></li>
<li><a href="groundthawing.html">Ground Thawing</a></li>
<li><a href="heaters.html">Heaters</a></li>
<li><a href="scissorlifts.html">Scissor Lifts</a></li>
<li><a href="boomlifts.html">Boom Lifts</a></li>
<li><a href="lighttowes.html">Light Towers</a></li>
<li><a href="misc.html">Misc.</a></li>
<li><a href="dirtequipment.html">Dirt Equipment</a></li>
<li><a href="powertools.html">Power Tools</a></li>
<li><a href="pumps.html">Pumps | Saws | Welders</a></li>
</ul>
</li>
<li style="width: 165px"><a href="locations.html">
<div class="style10" style="width: 154px">
Locations</div>
</a>
</li>
<li style="width: 180px"><a href="contact.html">
<div class="style16" style="height: 24px">
Contact Us</div>
</a> </li>
</ul>
</div>
This is the css coding:
#wrapper {
width: 880px;
margin-right: auto;
margin-left: auto;
background-color: #f4f4f4;
#Navigation {
background-image: url(Images/NAvigation%20BAr.jpg);
background-repeat: no-repeat;
width: 880px;
visibility: visible;
height: 3-px;
vertical-align: top;
Nav {
vertical-align: top;
margin: 0px;
padding: 0px;
clear: both;
height: 20px !important;
#wrapper1 {
width: 876px;
margin-right: auto;
margin-left: auto;
color: #F4F4F4;
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* Opera */
background-image: -o-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #716375), color-stop(1, #E8E8E8));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to right, #716375 0%, #E8E8E8 100%);
margin-bottom: auto;
#Bar {
background-repeat: no-repeat;
width: 880px;
height: 28pt;
overflow: visible;
background-image: url(Images/NAvigation%20BAr.jpg);
position: relative;
vertical-align: top;
#container {
width: 880px;
color: #000;
background-color: #EDEDED;
dominant-baseline: 578px;
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* Opera */
background-image: -o-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #716375), color-stop(1, #E8E8E8));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(left, #716375 0%, #E8E8E8 100%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to right, #716375 0%, #E8E8E8 100%);
margin-bottom: auto;
#content {
float: left;
color: #090;
width: 580px;
padding-right: 6px;
background-color: #033;
margin-top: 20px;
.container {
color: #000;
background-color: #ff6;
width: 876px;
#expect {
height: 164px;
width: 294px;
float: right;
position: relative;
background-color: #C90;
margin-left: 582px;
padding-top: 10px;
#hours {
float: left;
height: 55px;
width: 294px;
line-height: 4px;
word-spacing: normal;
white-space: normal;
display: inline;
letter-spacing: normal;
padding-top: 10px;
font-size: 13pt;
color: #000;
margin-left: 586px;
background-color: #F99;
#footer {
height: 76px;
width: 880px;
background-color: #CC0;
clear: both;
#cards {
float: right;
height: 31px;
width: 294px;
margin-left: 582px;
padding-top: 10px;
background-color: #F36;
#contact {
float: left;
height: 328px;
width: 293px;
word-spacing: normal;
white-space: normal;
line-height: 1px;
color: #000;
display: inline;
font-size: 14pt;
background-color: #FFF;
padding-top: 10px;
margin-top: 20px;
#header {
background-image: url(Images/Proquip%20Logo/Proquip%20logo2.jpg);
background-repeat: no-repeat;
background-position: center center;
width: 885px;
height: 126px;
background-color: #000;
margin-right: 2.5px;
margin-left: 0px;
#wrapper #container #contact p strong {
color: #800000;
font-size: 14pt;
#wrapper #container #contact blockquote p a {
color: #000;
#wrapper #container #expect div {
color: #900;
font-size: 14pt;
font-weight: bold;
#wrapper #container #hours div {
color: #900;
font-size: 14pt;
font-weight: bold;
#box2 {
background-image: url(Images/Option%201/Services/whitebox2.jpg);
#box3 {
background-image:url(Images/Option%201/Services/redbox2.jpg);
background-repeat:no-repeat;
background-position: center center;
#gold {
background-image:url(Images/Option%201/Logos/gold.gif);
background-repeat:no-repeat;
#white {
background-image:url(Images/Option%201/ProQuip-Pics/box1.gif);
background-repeat:no repeat;
#forklift {
background-image:url(Images/Option%201/ProQuip-Pics/34-01-4380.jpg);
background-repeat:no-repeat;
#scissorlift {
background-image:url(Images/Option%201/ProQuip-Pics/jlg-scissor-lifts-21.jpg);
background-repeat:no-repeat;
/* Navigation Menu- Level one */
ul {
list-style: none
ul.dropdown {
font-size: 13pt;
color: #000000;
height: 25px;
text-decoration: none !important;
width: 860px;
position: relative;
vertical-align: top;
ul#Bar.dropdown {
width: 878px;
position: relative;
vertical-align: top;
ul.dropdown li {
font-weight: 600;
float: left;
zoom: 1;
font-family: Arial, Helvetica, sans-serif;
font-size: 13pt;
display: block;
width: 175px;
color: #000000;
top: 25px;
text-decoration: none !important;
text-align: center;
ul.dropdown a:hover {
color:#cc0000;
ul.dropdown a:active {
color: #000000;
ul.dropdown li a {
display: block;
border-right: 1px solid#333;
color: #000000;
border-right-width: 1px;
text-decoration: none !important;
text-align: center;
ul.dropdown li:last-child a {
border-right:none; /* does not wotk in IE */
text-decoration:none !important; }
ul.dropdown li.hover,
ul.dropdown li.hover {
color: #000000;
position: relative;
height: 28px;
top: 0px;
ul.dropdown li.hover a {
color:#800000;
/* Level Two Navigation */
ul.dropdown ul {
width: 180px;
visibility: hidden;
position: absolute;
top: 100%;
left: 36%;
display: block;
float: left;
color: #000000;
text-decoration: none !important;
height: 25px;
ul.dropdown ul li {
font-weight: normal;
color: #000000;
border-bottom: 1px solid #ccc;
float: left;
border-bottom-color: #c0c0c0;
border-bottom-style: groove;
display: block;
background-color: #dbdbdb;
text-decoration:none !important;
/* IE 6&7 needs inline block */
ul.dropdown ul li a {
border-right: none;
display: inline-block;
height: 18px;
line-height: 16px;
color: #000000;
width: 100%;
text-decoration: none !important;
/* Level Three Navigation */
ul.dropdown ul ul {
top: 100%;
color: #000000;
text-decoration: none !important;
ul.dropdown li:hover>ul {
visibility: visible;
color: #000000;
top: 30px;
text-decoration: none !important;I have the site using tables up and running, this is a website for a client so I cant make a test site using that domain would it be ok if I screen shot'ed the problem?
Date: Thu, 24 Apr 2014 12:19:44 -0700
From: [email protected]
To: [email protected]
Subject: CSS Layout issue!! Help Urgent!!
Re: CSS Layout issue!! Help Urgent!!
created by Jon Fritz II in Dreamweaver support forum - View the full discussion
Well, you're not using position:absolute, so you've got a big thumbs up from a bunch of us for that.
Is there any chance you could post a link to this page on your server? It's much easier to troubleshoot from a browser than it is to rebuild the page from code fragments.
If you haven't gone live with the page yet, create a folder called TEST in your site and save copies of the page and css there. Upload TEST and post a link to it here. Once the problem is found/fixed, delete TEST from the server.
You can also attempt to use Firefox or Chrome to find your issue by right clicking > Inspect Element. All CSS that affects a given element will be displayed with file name and line numbers there.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6327947#6327947
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6327947#6327947
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6327947#6327947. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver support forum at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Java Developers Urgently Required-Guildford UK -up to 45,000 per annum
Permanent Java Developer urgently required for a leading pre-press work flow software house.
We need developers with the following skills:
Java J2EE
JSF OR Spring OR Struts
JSP Servlets / Swing
JDBC SQL
JDOM / HTML / JavaScript / CSS / XML / XSL / DTD / XPATH
Desktop: Windows XP
Eclipse3 / CVS
Basic UML
These skills are an advantage.
C++/Perl/AJAX
Parking, excellent working hours and an immediate start available for the right candidate.
Please Contact:
Kelly Riddell
01483 300515
[email protected]I think that it is something wrong with kernel and graphic drivers but i'm not able to solve it from the beginning of using of Arch by me.
I'm not so sure this issue is software-related only because in my case it seems the laptop screen enters power-saving mode (10-min timeout) on its own without any events logged (as shown by dmesg) so my next thought was OK, I'm going to get rid of this issue disabling the screen power-saving timeout in the BIOS and set it to never power down or something like that and from then on managing power mode manually; ie: when I want to power down I will just use systemctl suspend/hibernate which work fine ... problem is: there are no related options in my BIOS for such timeout.
The only timeouts I have are in /etc/systemd/logind.conf set to 30min (#IdleActionSec) (commented) by default so these are not in effect because the screens goes blank after 10m which is less than the (default) 30m in logind. Maybe setting loggind to 9m (un-commented) to catch the event before the machine-default one ?
IdleActionSec=9min
IdleAction=suspend
Will check it and report back. -
14.3.1 Issues with JAVA
My company has just upgraded to 14.3.1 and there are several issues that are taking place with our systems. The main issue is with JAVA. it appears that 14.3.1 doen't operate with java 1.7.51. Is there a work around for this. Also 14.3.1 was suppose to fix the slow functioning when clicking on CC monitor. this doesn't seem to be fixed. We have a large network of endpoint and do a large volume of calls daily and this is becoming a very big issue. does anyone have the answers that may help. we have tried java 1.6 and 1.7 up to 1.7 . 45
CSCug37698
Resolved issue where some Java/browser combinations were sometimes very slow or unable to run Conference Control Center. -
Why can't I use WebCT chat with my computer? I get the 'spiral of death' every time I try to type in my chat. I have a feeling it has to do with compatibility issues between Java and Tiger.
Hi Elizabeth,
Do your Mac meet any of these requirements?
http://www.wvnet.edu/services/webct/requirements.html
From this it appears to be PC only!???
http://sourceforge.net/projects/awebctcclient/files/Pancake%20%28it%20own%20proj ect%20now%29/Pancake%20Console%20V1.0.0/PancakeConsole-1.0.0-src.zip/download
Can you provide any more info on which bersion or file you have?
Can you tell us why you need this for your use? -
How to make a java browser to execute java-applets
Hi all!
I' ve recently build (according to examples that I came accross) a java browser that successfully loads HTM, HTML and JSP pages, but it doesn 't load any of my java applets.
What could be wrong? Does anyone have an idea?
Thank you, in advance.
John.If you like I could personally mail to you my code of java-browser.
John. -
I am looking for a Java browser for a pJava platform - any pointers?
I was recently looking for the same...
Here is what I found:
JavaBrowser: http://www.ii.uib.no/~jeremy/sw/TheBrowser/ - This is open source and was release a long time ago (like 1996)
Ice Storm
http://www.windriver.com/products/html/icebrowser.html - This is commercial, ran so-so for me.
Espial Escape
http://www.espial.com/main/page?view=escape_48_about_web - Commercial and quite expensive. Sample apps ran so-so.
Net Clue
http://www.netcluesoft.com/ - Didn't run well for. It's commerical but not terribly expensive.
HTML browser
http://www.xs4all.nl/~griffel/java/html.html
This one's free but runs slower than JavaBrowser
JEditorPane in Swing
Swing just runs too darn slow for me and that .jar file is huge.
For my testing, I'm using a Compaq Ipaq 3635 and Jeode VM. In the end, JavaBrowser far outperformed anything else because it renders html pages incrementally, but it lacks support for many features, most importantly html tables. It was also written using Java 1.0 event models so it contains quite a bit of deprecated code.
Hope this helps,
-Brad -
OK well I finally got the java update to full load and it stated that it was corrupt or something like that and now I can not get into my favorite chat room it says I need to get java .. when I go to the link to re get a update to java it says I am updated.. so I called apple and they sent me a patch or something and it did not help .. anyone have any ideas what is happening?
my old chatroom I think I remember someone talking about java issues there and how you had to have a old java or something like that .. can somehelp please!golam wrote:
I am having issues with java encoding in Gentoo Linux environment. I am using java 1.6. When I ran the following test application to print french accent with encoding type, all I get is wrong character. Please provide me with some pointers. When I try this in Windows, it works perfectly. Many Thanks in advance
//test.txt file contains the following string
àäèéêëîïôùûüÿ
///TEST CODE to find which encoding to use
System.out.println("encoding:"+encoding[i]+"line===>"+inputLine);
This is the problem.
Don't assume the console character set can display these characters,
use a swing component.
This is also why it happens to work in on some boxes and not on others.
///////////////OUTPUT after running the test app
java Test encoding:Big5line===>???????
encoding:Big5-HKSCSline===>???????
encoding:EUC-JPline===>???????
encoding:EUC-KRline===>???????
encoding:GB18030line===>???????
encoding:GB2312line===>???????
encoding:GBKline===>??????? -
Hi!
I would like to create a Java Browser who is able to deal with the Javascript.
(Right now I see error messages).
Is this possible?
Please help.Thanks! What do you mean with " then hammer it into
your HTML display component"? How would you proceed?Depends on what HTML Display (JEditorPane, FS, custom) componet you are using.
What would you consider as the simplest solutions?
None. It would be hard. I'd cheat, and go with JDIC Browser component. -
I'd like to enable an applet to modify the DOM in a browser window directly (ie. by using org.w3c.dom.* stuff). I'm using the latest 1.5.
I'm using a small class that I've pasted below to attempt to facilitate this. It evidently works in MSIE, where I receive the "Got document" message indicating a non-null value for 'page', but in Mozilla or Netscape, I get the following exception thrown:
netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(Unknown Source)
at sun.plugin.dom.DOMServiceProvider.getDocument(Unknown Source)
at sun.plugin.dom.DOMAccessor.getDocument(Unknown Source)
at econ.ClientLink.run(ClientLink.java:35)
at sun.plugin.dom.DOMService.invokeLater(Unknown Source)
at econ.ClientLink.start(ClientLink.java:25)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
com.sun.java.browser.dom.DOMUnsupportedException
at sun.plugin.dom.DOMServiceProvider.getDocument(Unknown Source)
at sun.plugin.dom.DOMAccessor.getDocument(Unknown Source)
at econ.ClientLink.run(ClientLink.java:35)
at sun.plugin.dom.DOMService.invokeLater(Unknown Source)
at econ.ClientLink.start(ClientLink.java:25)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Got document: null
Is this just simply only supported for MSIE? This seems highly unlikely.
I suspect it might have something to do with permissions in Mozilla, as these lines also appear in the log:
liveconnect: the url of the applet is http://word and the permission is = false
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://word
I haven't yet found anyone who could explain them. I'd like to try playing with permissions, buy I don't know how to do so. Any suggestions?
--- code follows ---
import javax.swing.*;
import java.applet.*;
import org.w3c.dom.*;
import com.sun.java.browser.dom.*;
public class ClientLink extends JApplet implements DOMAction {
DOMService service;
Document page;
public void start() {
try {
service = DOMService.getService(this);
System.out.println("Got service.");
service.invokeLater(this);
catch (Exception e) {
e.printStackTrace();
public Object run(DOMAccessor doma) {
System.out.println("Entry successful.");
try {
page = doma.getDocument(this);
System.out.println("Got document: "+page);
catch (Exception e) {
e.printStackTrace();
System.out.println("Error: "+e.toString());
return null;
}A couple of things I've found with DOMService and/or LiveConnect and the more recent java and browser releases :
1) You probably need to edit your java.policy file to grant permissions since the security in Java is now managed independently from the browser
2) You need to remember to have mayscript="true" in your applet tag
3) JSObject's dont work unless you've called JSObject.getWindow(...) first.
4) Many legitimate java exceptions will appear misleadingly as security exceptions -
How to create java browser?
I want to create a connection to a website (flickr) by using flickr API's and also I want to show the details in a JAVA browser.
any one help me.flounder wrote:
Just have fun. BTW is a date all you want to do with JA?he's a romantic, he wants things to develop naturally. -
IE issues and change browser on BB for safety
Basic user with little knowledge, but with 9800 do I need to be concered with IE issues and change browser on BB for safety?
Solved!
Go to Solution.Hello,
BB's do not run IE, so there is no need to be concerned in that regard. Some BB Browser versions can be configured to run in an IT Compatible mode, but they are technically not IE.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Issue generating java from pl/sql package
Hi,
In JDeveloper (11.1.1.6) I am having an issue generating java from a pl/sql package. When I am in the database navigator I right click on the package and select "generate java". This produces some java files, some sqlj files and a <package_name>.javatmp file. When a collegue does the same all files are generated with a .java extension. Can anyone tell me what I can do to generate all java files?
Thanks,
GraemeIt turns out that I was running against a 64-bit JDK. (1.6.0_41.)
When I changed this to run against a 32 bit JDK (also 1.6.0_41) my problem went away.
It might be worth noting that my machine is 64 bit. -
Does Safari have issues with Java?
When I log into my IG Index financial spread betting account safari usually quits unexpectedly immediately after the dealing screen has loaded. This is causing me huge frustration. The site relys a lot on Java. I believe there were issue with Java in Mac OS 10.3.9 that may still exist on 10.4.X
Any ideas?Do you have the latest versions of Java installed?
Have you enabled Java in Safari's preferences?
Maybe you are looking for
-
How do I delete an Apple mail toolbar icon
I need to delete the 'Archive' mail icon from the toolbar. The help pages all say just click and drag it out but it will not work. It is also impossible to rearrange the order of the toolbar for the same reason as the icons will not drag.
-
My ipod nano isn't syncing when I try and change the setting in manually, but is however syncing when I launch the itunes by plugging it in. I'm wondering if anyone has had this issue and/or had been able to fix the problem?
-
My online pdf viewer does not seem to display the menu bar (as in the ones that pop up when you click a link for a form or journal). I have tried F9 and Alt-T, but none of them seem to work.... A little help please? Thanks
-
Fdisk and format show different cylinders can't use whole disk for solaris?
Solaris 10 5/09 s10x_u7wos_08 X86 Format did not show enough cylinders, so we can't use whole raid5 (4x 146GB) volume. How can we fix it? We need the full raid5 volume for our solaris. formatAVAILABLE DISK SELECTIONS: 0. c2t0d0 <DEFAULT cyl 17817 alt
-
IPad not synching to iTunes 10.3
Hi, I just downloaded 10.3 and plugged in my iPad. It says starting synch but doesn't do anything. do I need to reset any settings to make this start working again? this worked fine with the published version of iTunes. and then my next question woul