Does anyone know how i can embed a browser in my JFrame?
In microsoft technologies they have OLE, where I can embed Internet Explorer into any application written in VB or C++ (or C Sharp).
Does anyone know how I can do this with Java? Is there a way to make a java applet that has a browser in it?
And then if there is, can I also put an invisible layer on top of that, and paste JLabels and stuff into that, over the browser window?
Have a look at JEditorPane.
From the API Guide:
A text component to edit various kinds of content. This component uses implementations of the EditorKit to accomplish its behavior. It effectively morphs into the proper kind of text editor for the kind of content it is given. The content type that editor is bound to at any given time is determined by the EditorKit currently installed. If the content is set to a new URL, its type is used to determine the EditorKit that should be used to load the content.
By default, the following types of content are known:
text/plain
Plain text, which is the default the type given isn't recognized. The kit used in this case is an extension of DefaultEditorKit that produces a wrapped plain text view.
text/html
HTML text. The kit used in this case is the class javax.swing.text.html.HTMLEditorKit which provides html 3.2 support.
text/rtf
RTF text. The kit used in this case is the class javax.swing.text.rtf.RTFEditorKit which provides a limited support of the Rich Text Format.
Similar Messages
-
I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it doesnt work
Hi Timia,
If you are using Safari as a web browser :-
Open Safari, go to Safari menu > Preferences > General, and put Google as the homepage. Then, choose Google as your default search engine.
If you are using Google Chrome as the web browser :-
Open Google Chrome.
In the top right corner of the page, click the Chrome menu Chrome menu > Settings.
In the "Search" section, select Google from the drop-down menu.
Let me know if you still experience any issue.
Regards,
Aadesh -
Does anyone know how i can view PDF files using Galaxy Note 2?
Does anyone know how i can view PDF files using Galaxy Note 2?
This is what i have been doing;
I click on the file i wish to view (via a portal)
this file goes to notification widget (i drag down screen)
notification/message says download complete
i click on notification/message
nows it says complete action using (here i only have 2 icon options 1= DB Text Editor 2 = HTML Viewer)
I have installed Adobe Reader.Can you confirm if the downloaded file is a pdf file, that is it ends with .pdf?
-
I just got my new iPhone4 set up today and it has pulled in every email that is in my desk top as being unread. Yet I have read all the emails. Still the iPhone thinks they are unread. Does anyone know how I can delete all of these emails at one time from the phone?
I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.
-
When I got my new iPhone and was trying to switch everything over I accidentally set up a new icloud account with one email and had one on my old iphone with another account. Does anyone know how I can merge the two accounts?
You cannot merge Apple IDs but you can go to Settings > iCloud and 'Delete Account'. When prompted to turn off documents and data, choose the only option which is Delete from my iPhone, but on the other prompt for Contacts, Calendars, etc you can choose 'Keep on my iPhone' Then once the Account is Deleted form the iPhone, log back in with the correct Apple ID and choose Merge when prompted. This will merge your data from this iPhone with that iCloud account effectively putting your devices on the same account.
-
I know my Game Center username and password, but I don't know the email (or maybe apple id) that is for my account. It is not my normal one. I can't log in with just my username, so does anyone know how I can get my email?
Can you help me pleaseDear
I have worked renovation of the device and have an account, but I forgot my email
I do not know E-mail has been linked in game center
I have a name defined in game center
Do I have the possibility of knowing E-mail has been linked in game center -
"Moving Items to Trash" has been up on my desktop for days now. I don't know who to get rid of this and believe its slowing my WHOLE system down. Does anyone know how I can get rid of this, cancel it, forece quit, or anything? HELP!
Try force quitting
Press Command + Option + Esc -
I authorized my home sharing on my itunes for mac to share to my itunes on windows PC, but for some reason my music isn't fully sharing/syncing. Does anyone know how I can solve this problem?
Hi, Dave.
If you're using the BlackBerry browser, you can't configure anything to bypass the RIM servers. I believe you may do so by using the Opera browser, but I haven't tried it myself so cannot comment with authority.
I hope that clears up the issue for you.
- If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated. -
I'm having problems upgrading from 10.6.8 to Yosemite. My computer locks up after the download and installation process. Does anyone know how I can overcome this problem?
Repair the Hard Drive and Permissions
Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X. -
i got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this and get my information back?
Every backup replaces the old one, so, unless you included the backup folder in your computer backup routine, you can't get back your calendar info.
The only time iTunes will not replace a backup is, when you use it to restore from, this one will stay in the backup list in iTunes.
More info on backups here: http://support.apple.com/kb/HT1766 -
I just recently got a new laptop with windows 8 and downloaded itunes 11.0.2. I downloaded my tv shows from the cloud to the laptop and the playback was awful...the audio was fine but the video is choppy and couldn't keep up with the audio. I thought maybe it was because I downloaded it from the cloud and it was a different version of itunes so I downloaded different TV shows from the store and it was the same problem. Does anyone know how I can fix this?
Thanks
ShanonI found this is another thread - same issue.
Re: iTunes has stopped working. Why?
Sep 11, 2013 6:07 AM (in response to thurdy)
Resolved!
After contacting Apple, I received a reply from their engineers:
Copy QTMovieWin.dll from: C:\Program Files (x86)\Common Files\Apple\Apple Application Support
to: C:\Program Files (x86)\iTunes
And that did the trick.
Message was edited by: Stryder777 -
Hi. I have purchased Lego Indiana Jones for my Macbook Pro. On trying to install it, it is telling me it encountering an error. Does anyone know how I can get around this? Cheers
I have this problem too the error message for me is error 36
(It works on my Macbook but not my Macbook pro)
Any help you could give would be great -
Now i want to burn it to a dvd using a flashdrive and burning it on another PC that has a burner. Does anyone know how i can do this? My macbook air HAS IDVD....
Here are dedicated discussion forums for iMovie and iDVD, where you might more likely find help.
-
Does anyone know how I can solve this. My cat managed to move iphoto tab to the middle of the screen and now I cannot open it and get this message.
You cannot open the application iphoto because it may be damaged or incomplete
Any help appreciatedYou need a more technically saavy cat, for a start.
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 or later they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List. -
does anyone know how I can create a text field in a pdf document that will multiply a total in another box? I’m making an interactive pdf for an order form (attached), and I need to find a way for the “total quantity” number to multiply by 9 and total in the “Amount Due” box.
Hey Gary,
Have a look at this post: Re: horizontal scrolling similar to excel
Andy's reply will show you how to make a table scroll horizontally, but it will be tough to accomplish it in some sort of easily replicable way. I am working on a JQuery extension that will help accomplish this, but I have had my time invested in another project at the moment.
Good Luck,
Tyson
Maybe you are looking for
-
Apache URL redirect causes APEX to point to the wrong images folder
Hello All, I am using the following in httpd.conf Redirect / http://hostname/analytics/saw.dll?Dashboard When I try accessing APEX the application can't locate the image folder. For example instead of looking for e2.gif in http://hostname/i/e2.gif it
-
Follow up material - old material's stock goes down and up
Hello, I have a question related to Follow up material. Lets assume that material A is to be replaced by material B, this is specified in the MRP4 view. In the field Eff.-Out an estimate of when the last unit of material A will be received is given i
-
Hi, I am trying to debug a large Flash reading literacy application which is written in AS2. Everything works in 10.0.42.34. When our school customers upgrade to 10.0.45.2 they get blocked from proceeding with training. The main movie has loaded an a
-
Display selection screen details in the header of ALV
hi.. can someone please help me on how to display the data in the selection screen in the header in ALV? i hope someone can help me..thanks very much..
-
How to create interactive overlays in Aperture?
Is there any plugin or method in Apeture that allows overlays or annotations to be created on existing images? For example, flickr allows a box to be drawn selectively on any parts of an image to add notes and data etc.. iPhoto does this to an extent