473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

JEditorPane (html page) doesn't appear on main frame

EntryTeam
class Browser has method getBrowserWindow() which returns JEditorPane(new URL("some URL")).

class MainForm calls new Browser().getBrowserWindow() and assigns it to another JEditorPane object.
Expand|Select|Wrap|Line Numbers
  1. editor = new Browser().getBrowserWindow(); 
  2. scrollpane = new JScrollPane(editor);
Object editor.hashCode() is correct, so there's no doubt that i've got the right object.

Still, i can't see html page in the main frame.

P.S. i've tried creating instead of htmlpane simple JEditorPane filled with text only,
and this one i couldn't see neither.
Mar 2 '11 #1
0 1152

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
2
by: Jon Haakon | last post by:
Hi, I'm developing a websolution using ASP and DHTML technology that's running on a MS IIS webserver. My solution is frame based with a toolbar on top, a hidden frame for scripts in the...
1
by: Andrew K | last post by:
Hi, I am trying to set up a web site using a frameset. There is a frame on the right-hand side for the menu (menuFrame), a header frame (headFrame) and the main frame (mainFrame) which displays...
2
by: Don | last post by:
Ok, I give up. I've spent hours on this one, and am totally baffled. In the "header frame": function addWatchedSubject(msgNumber) { var msgNumber;
14
by: Silver | last post by:
I have a main page that includes one menu and one iFrame. Depending on the selections made on a menu, a different html page is loaded inside the iFrame. The menu is just a list of <a href=...> ...
2
by: crferguson | last post by:
I'm having a really odd issue. Recently my company has upgraded our data server. For a couple of months I'm having to host two versions of the same website on our webserver until the new data...
15
by: demiourgos | last post by:
Is there a way to embed html page from different server into another html page without using javascript ?
8
by: rn5a | last post by:
I have a HTML page named Index.html which is divided into 3 frames. The URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP page. Now when I go to Windows Explorer, navigate to...
3
by: nirmalarasu | last post by:
Hi, Currently Iam integrating GUI Framework in Python. As per design design,I need to use tab buttons to launch different HTML pages in same frame(without launching seperate window ). I have...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.