How can I display a modal Dialog from an applet in the Browser?
jGuru: Applets FAQAuthor: Finlay McWalter (http://www.jguru.com/guru/viewbio.jsp?EID=13911) Question originally posed by Rajesh Sharma (http://www.jguru.com/guru/viewbio.jsp?EID=26470 In order to display a Dialog, you need a Frame to be the "owner" of the dialog - all of the java.awt.Dialog constructors require a Frame. Now, I've seen several "teach yourself java" books that say you should make a dummy Frame, and then pass that in as the parent - but that's plain silly.
How can I show a modal dialog box from an Applet (in Internet Explorer)?
jGuru: Applets FAQAuthor: Krzysztof Raciniewski (http://www.jguru.com/guru/viewbio.jsp?EID=32358) Question originally posed by d sdvsd (http://www.jguru.com/guru/viewbio.jsp?EID=56415 There is article about this on the Microsoft web site (http://www.microsoft.com/java/sdk/40/kb/177753.htm) Remember that this works only on Internet Explorer and is not portable.
How do I detect if the user clicks into another window from a modal dialog?
Forms - Windows Forms FAQsUse the Form.Deactivate event: Deactivate += new EventHandle( OnDeactivate ); // ... private void OnDeactivate( object s, EventArgs e ) { Close(); } Shawn Burke, Microsoft You can do this by starting a new thread and executing Application.Run for the status dialog form when the background thread starts running. To communicate changes in percentage use BeginInvoke to executes a specific delegate asynchronously on the thread...
A dialog should display asking Would you like to make it your default browser?
Online Services CD FAQsIf you have Windows XP Service Pack 2 installed on your computer, you will also have Internet Explorer (IE) version 6 Service Pack 2 installed. This version is later than the IE version on the CD (IE version 6 Service Pack 1) but will still work with our software. However, if you installed another internet browser (other than IE or Netscape) and made it your default browser, the CD will prompt you to install a new browser.
How do I run the Browser as an applet?
Open Channel Foundation: FAQ - LDAP Browser EditorThe LDAP Browser/Editor can be run as an applet within a web browser (Netscape Navigator or Microsoft Internet Explorer) using the Java Plugin. The Browser can be run either as a signed or unsigned applet. If the Browser is running as an unsigned applet it can only access the ldap servers on the server that the applet was downloaded from. If the Browser is running as a trusted signed applet it can access any ldap server on the network or the internet.
How do I display a confirmation dialog when the user closes the form?
Forms - Windows Forms FAQsYou can listen to the Form's Closing event, where you can display a MessageBox as show below: using System.ComponentModel; private void Form1_Closing( object sender, CancelEventArgs e ) { string text = "Do you want to close the application?";...
What is the best web browser for viewing the text display?
eScription FAQ PageA wide variety of Java capable browsers are available for download and installation. We have listed a few browsers that have been recommended by our viewers. The listed browsers represent only a fraction of the browsers that are capable of showing the text display.
How do I display more than one page from an applet?
Java Network Programming FAQThe showDocument method of the AppletContext interface is overloaded - meaning that it can accept more than one parameter. It can accept a second parameter, which represents the name of the browser window that should display a page. will display the document in frame1. If there exists no window named frame1, then a brand new window will be created.
How do I display an Image in an applet or application?
jGuru: Applets FAQAuthor: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by Sunil Varghese (http://www.jguru.com/guru/viewbio.jsp?EID=28026 The basic manner of displaying an Image in an applet/application is to call the drawImage() method of the Graphics class in the paint() method of the component to display the image. There are six varieties of the method that deal with scaling and background colors for transparent images. The basic manner of calling is as follows: g.
How does an applet get loaded into the browser?
jGuru: Applets FAQAuthor: Rob Edmondson (http://www.jguru.com/guru/viewbio.jsp?EID=35309) Question originally posed by NISHANT JAIN (http://www.jguru.com/guru/viewbio.jsp?EID=29836 The browsers HTML interpreter reads the parameters from the APPLET tag. The relevant parameters used to load the applets class are CODE, CODEBASE, and ARCHIVE (CODEBASE and ARCHIVE are optional - OBJECT can be used instead of CODE). The CODE parameter holds the name of the applets class file.
Can you explain Modal vs. A-Modal?
uidesign.net FAQThere is continued demand for this topic. However, it is one which has been covered many times before by other people. I may get around to a full article on this topic but it never seems to happen as there is always interesting new stuff to write about. they say at Prime Ministers questions, "I would refer the honourable gentleman to my answer from earlier". See Letters... However, a far better explanation of it all is given in Jef Raskin's book, The Humane Interface. See Review...
How do I display a particular web page from an applet?
Java Network Programming FAQapplet can instruct a web browser to load a particular page, using the showDocument method of the java.applet.AppletContext class. If you want to display a web page, you first have to obtain a reference to the current applet context. The following code snippet shows you how this can be done. The show page method is capable of displaying any URL passed to it. import java.net.*; import java.awt.*; import java.applet.
How can I display tif graphics in my Java applet?
jGuru: Applets FAQAuthor: delfim martins (http://www.jguru.com/guru/viewbio.jsp?EID=9614) Question originally posed by Yasar Qureshi (http://www.jguru.com/guru/viewbio.jsp?EID=48204 A few options to solve this problem A couple of caveats are in order here -- Having used all three of the aforementionned API's, there are some things you should know before you start: Liz Marks' lizard.tiff library is small and reasonably fast.
What languages can the iVISTA streaming video applet display?
InetCam Internet Video Transmission System (B&W) - VTS8100 -...The iVISTA applet is able to determine the location and language of the viewer and automatically translate the entire applet into one of fifteen languages - English, Arabic, Chinese (both Simplified and Traditional), Dutch, Finnish, French, German, Hebrew, Korean, Italian, Japanese, Norwegian, Portuguese, Spanish and Swedish.
Can FnCharts applet display "Real-Time" charts?
Stock Charting Software FAQYes. Both FnChart Professional and FnCharts Advanced can display automatically updated intraday data, but the professional version can update data faster and more efficiently (using significantly less bandwidth than the advanced version). You can set desired update frequency in your HTML code. FnCharts can update the charts as often as every second. However, taking into consideration the number of concurrent users and available resources, you can choose to set update interval to 6-10 seconds.
How do I get an applet to load a new page into the browser?
jGuru: Applets FAQIn short, get the applet's context and tell it to show a different document: getAppletContext().showDocument(new URL("http://foo.com/whatever/blah.doc")). You can also provide a target frame string as in getAppletContext().showDocument(new URL("http://foo.com/whatever/blah.doc"), "target"). There are four special targets strings. Any other string will act as a named top-level window, if the frame doesn't exist.
How can I make the browser keep the applet in its cache memory?
jGuru: Applets FAQAuthor: NISHANT JAIN (http://www.jguru.com/guru/viewbio.jsp?EID=29836) Question originally posed by ronen portnoy (http://www.jguru.com/guru/viewbio.jsp?EID=27420 The browser by default keeps the applet in it's cache. But this cache is a temporary cache. If you want to really store the applet then there is a new version of Plug in which provides a cache that stores the applet. For making your JVM to load the applet from that cache, you will have to make some changes to your HTML.
What kind of browser should I have to use the computer ticket ordering applet?
FAQ — AssemblyYou should use a new browser (e.g. Firefox 1.5 or Opera 9) with Java JRE 1.3 (or later) support. You can download the latest JRE from http://www.java.com/en/download/index.jsp To use Microsoft Internet Explorer to run the Ticket Sales Applet, you must configure the it to use the Sun JRE plug-in. To do this,
How do I make the file dialog box display?
AutoCAD FAQ: Frequently Asked AutoCAD Questions, Troubleshoo...The system variable FILEDIA controls the display of file dialog boxes used in command like WBLOCK and SAVEAS. Setting FILEDIA to 0 disables the display of file dialog boxes, forcing input from the command line.
