473,425 Members | 1,722 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,425 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 1159

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
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.