Can display Web pages from servlet but not applet?
I have been able to display real-world Web pages from a simple servlet using JDeveloper 3.0, but can't figure out how to do the same from an applet. Any hints?
My previous post had the detail...Probably a simple question from a relative novice. I'm having a problem just viewing web pages by calling them from a "list" of URLs in an applet. I built an applet with a split pane that has a JTree on one side and an "HTML viewing pane" on the other. I can click JTree nodes to display local html files, but I don't understand how to display web pages from the Internet. Do I need something like HyperlinkListener to make the jump to "hyper-world"???
Similar Messages
-
I trying to publish a web page from iweb, but it doesn't recognize my MobileMe account
I trying to publish a web page from iweb, but it doesn't recognize my MobileMe accouI trying to publish a web page from iweb, but it doesn't recognize my MobileMe account, what can I do?
MobileMe has been discontinued for over 2 years now. You'll need to find a new hosting server for your website.
This may be of help to you: Life After MobileMe. -
I can access yahoo mail from safari but not from the iphone ipad mail app after changing my password
Go into your settings and remove the account. Add the account again with your new password.
Best of luck- K. -
xI bought Mountain LIon but no dmg is downloaded. I can see the invoice from Apple but not the OS I supposed to receive. Is it a bugg?? I have a mac book air. Thanks
Thanks for the reply.
However the trick is that it cannot download at all.I m asked to download the application. Then I put my Apple ID, then it start to download but just 1s... Then ....Nothing. No application, no error message... Just a nice invoice.... -
Can only watch videos from YouTube, but not from other websites.
I can only watch videos from youtube, but certain websites such as dailymotion.com , videos.sapo.pt, etc, the flash video does not load up. I´ve tried updating my video drivers, installing older versions of Adobe flash, but nothing has worked so far. Has anyone has this problem? IShould I be messing with the flash global settings?
Thanks.Hi, You may want to check the system requirements for the other sites. If you can watch videos on Youtube, then you must have Flash Player Installed properly.
Sometimes certain websites don't support or are late in supporting the latest version of Flash Player (10.1.102.64), so you might want to contact the websites on that.
You can use this link for setting and see if that makes a difference. Normally you would get a popup from the website to ask for this, but that would depend on how you have the Global Settings Panels set up.
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.htm l
Hope that helps,
eidnolb -
Setting of "opening web pages from last session"not works when open next time
In Options, setting to "open windows & tab pages from last time" does not work. I have tries several time but nothing happens. have written to you earlier also , please help
''setting to "open windows & tab pages from last time" does not work.''
That would be very surprising but a change was made to Firefox 4 to always have the choice of going to History ("Alt+S") and choose "Restore previous session".
With Firefox 5 coming out in a few days (June 21-22) you might try again then, if the solution the developers built in does not work for you. Do you know about pinning tabs ('''app-tabs''') they persist across sessions as a convenience -- if I really want to keep something permanently then I would bookmark such things as a group. Because they can be closed easily. -
Hi,
I used my iTunes player to sign into my friend's account and upload a bunch of Cds for him as he has no PC. I then synced the tracks to his iPad. Now, when I sign into my own iTunes account, the songs are there as well. When I delete them from my own list, they are also deleted from his. How can I get the tracks to delete from my own playlist but not his? (NB The iPad and PC are not connected when I do this).
ThanksPut a copy of that music on a second external drive; if desired, then delete it from your iTunes library. The music will remain associated with the original Apple ID; iTunes libraries are separate from iTunes Store accounts.
(120644) -
The code downloads web pages and subtitles but not youtube video ?
The following code successfully downloads the yahoo page, if we specify its url, or a subtitle even, but when I give a youtube video url, it does download a video file, but the download stops very quickly, and the file never plays:
class read
public static void main(String aa[])throws IOException
byte a;
int b,c,d;
URL url=new URL("http://www.youtube.com/v/sHQXU9Kzgr8&color1=0xb1b1b1&color2=0xd0d0d0&hl=en_US&feature=player_detailpage&fs=1");
URLConnection conn=url.openConnection();
InputStream stream=conn.getInputStream();
FileOutputStream out=new FileOutputStream("/home/daud/Desktop/video");
while ((b=stream.read())!=-1)
out.write(b);
}Why doesn't it work for youtube ?I wonder if it's because Youtube don't want all and sundry just leeching their content....
Did you have a question? Or was it simply the implicit "how do I leech intellectual property from Youtube?" -
How can I delete emails from phone but not from mailbox?
I used to have a Blackberry Torch & was able to just delete messages from my phone but they would still appear in my mailbox on my desktop. Now with the iphone 4s when I delete from my phone it deletes everything, everywhere.
The only way to erase it is to go to Settings>General>Reset>Erase all Content and Settings
-
How can I delete photos from iPad but not iCloud?
Before setting up iCloud, my girlfriend downloaded photos from her camera to her iPad. We now have iCloud set up, but the photos on her iPad remain in the "Photos" album instead of Photo Stream. I would like to delete the photos from the iPad to free up storage space, and move them to the Macbook. I'm guessing that I would need to somehow move them to Photo Stream then delete the old album where they were stored on the iPad... Any ideas?
The links below have instructions for deleting photos.
iOS and iPod: Syncing photos using iTunes
http://support.apple.com/kb/HT4236
iPad Tip: How to Delete Photos from Your iPad in the Photos App
http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
Another Way to Quickly Delete Photos from Your iPad (Mac Only)
http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
How to Delete Photos from iPad
http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
How to: Batch Delete Photos on the iPad
http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
(With iOS 5.1, use 2 fingers)
How to Delete Photos from iCloud’s Photo Stream
http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
Cheers, Tom -
I heard that you could display web pages in a Java program, is this true? If so, how would you do it?
Sorry for the above answer.
You can display web pages in JEditorPane not JTextPane
Following program can show the web pages in Swing program.
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import javax.swing.*;
public class EditorPaneTest extends JFrame
public EditorPaneTest() throws Exception
Container con = getContentPane();
String s = null;
try {
s = "file:"
+ System.getProperty("user.dir")
+ System.getProperty("file.separator")
+ "abc.html";
URL helpURL = new URL(s);
JEditorPane pane = new JEditorPane();
pane.setEditable( false ) ;
pane.setPage( helpURL ) ;
con.add( "Center" , pane );
} catch (Exception e) {
System.err.println("Couldn't create URL: " + s);
setSize( 400 , 400 ) ;
setVisible( true ) ;
public static void main( String args[ ] )throws Exception
new EditorPaneTest();
thanks. -
Delete Apps from MacBook but not from iPhone
How can I delete Apps from iTunes but not from iPhone 3GS when I Sync them? The moment I delete the Apps from iTunes and then sync iPhone, iPhone deletes them as well.
Please assist.If you intend to ever sync your phone with your Macbook then you can't delete the app from your Macbook, otherwise the apps will also delete from your iPhone (as you've discovered).
-
Browser cannot display E3200 router web page from ethernet connection but can from wireless
I have installed my E3200 downstream from the Verizon FiOS Actiontec (going the other way disables FiOS functions).
1. My browser can get to the E3200 (192.168.1.2) when connected via wireless, but not when connected via ethernet cable.
How do I fix that?
2. When going to connect wirelessly, the 2GHz connection is visible but the 5 GHz connection is not
(I have them named differently).
How do I see both wireless connections?My browser cannot get to my E3200 setup web page from a wired Ethernet connection (wireless works fine).
The Linksys E3200 (1Gb ethernet, “n” wireless) is installed downstream from a Verizon FiOS Actiontec router (10/100 ethernet, “g” wireless).
I cannot put the E3200 upstream from the Verizon router because I would lose FiOS TV capabilities.
The E3200’s fixed IP address is 192.168.1.2 (the Verizon router is 192.168.1.1)
I cannot change the subnet (e.g. to 192.168.2.x)
Clearing the browser cache and rebooting both routers doesn’t help.
Both computers tested have dual band “n” network adapters.
So... wireless connection works fine, but I cannot get to the setup page via wired ethernet.
Help? -
Can print test pages from embedded web server., put not from windows
Hello,
I have a P1102w that worked perfectly through the last 5 month.
Two days ago it stopped printing anything for some reason. What happen is, when I print something, it spools, but then I get Error-Printing under the status when I double click the printer icon in the "devices and printers" manager of windows 7.
Right now I can see the printer in Ad Hoc. I can load the embedded web server,. And I can print test pages from the embedded web server.
However, if I tried to print test pages using the printer icon in "devices and printers" manager".. it doesnt print!
If I go to Devices and Printers -> Properties -> Advanced -> "Print directly to printer" -> Apply
I got an error box: "Printer settings could not be saved. Operation could not be completed (error 0x0000070c)."
The printer works fine when connected to other laptops (with exactly the same driver/setting)..
This problem is driving me crazy !
Thank you in advance for your helpHi m-rasheed,
An ad-hoc connections is much more unstable than an infrustructure network using a router. At this point i would suggest getting a wireless router, and then connect the printer to your network through the router.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02847467&tmp_task=useCategory&cc=us&dlc=en&lang...
Routers:
http://www.shopping.hp.com/webapp/shopping/can.do?storeName=accessories&landing=computer&category=ca...
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
Can I print web pages from Firefox 3.6.12 using adobe pro 9 (not using PDF Download) and if so how.
{Ctrl + P} - do you have a PDF Printer listed in the Printer - Name drop-down?
Maybe you are looking for
-
Hi, How would I format a numeric value to display blank if it's 0 and conversely, how would I display 0 if the value is null. Thanks, rkingmdu
-
PGI reversal issue for STO Delivery
Friends, While I am trying to reverse the PGI using VL09 for a STO delivery, I get an error " E M7 022: PU withdrawn quantity exceeded by xx Ton : Material, plant and storage location". Looked at the OSS notes but could not arrive at the correct one.
-
Compile two css files to one swf
Hi, Is it possible to compile two swf files to one swf. If so give the me steps please. thanks, Jayagopal.
-
I would like to make a bootable USB Drive and burn the 8.6.2.20000-etc upgrade ISO to it. I was wondering is there any technical reason why a BE-3000 would not boot from a USB drive? Will it only boot from a DVD drive? As always thanks for any help
-
Laser M127- M128. Cant find info on how to scan from my Hp laser to my computer
Hello, I'm try to scan a document from my M-127 M-128 Hp Laser jet to my computer and have No idea were to begin Please help. Thank You