developer.java.sun.com/developer/qow/archive/15/index.html -> java.sun.com/developer/qow/archive/15/index.html
Developers Home > 10 Products & Technologies > 11 Java Technology > 12 J2SE > 13 Reference > 14 FAQs > 15 Question of the Week Archive > 16 Join a Sun Developer Network Community 17 Profile and Registration | 18 Why Register? The intent is to pass this important, but not always easy-to-find information on to JDC members. The questions are selected from the JDC newsgroups generally because: they are frequently asked, they are significant or timely, or their answers are not easily accessible. Note: If you have a question to which you need an answer, try the 20 JDC newsgroups. You can read through the existing newsgroups, or with your 21 free JDC membership, you can post new messages or threads. AppletContext class, but I haven't found anything as convenient from an application. This can be further refined by taking advantage of the fact that html files are bound to the default browser, so you don't even have to specify the browser! I also need to know how to close the web browser thru an applet? Sat Oct 31 02:13:23 PST 1998 Bala1 Its always nice to get good suggestions from JDC Sat Oct 31 07:52:31 PST 1998 latinretail It should be pointed out that this makes your program less than 100% Pure Java. Sat Oct 31 08:19:04 PST 1998 NUAGINET Launching a MS or NS Browser from within an Java Application is fine. How about having that Browser run within my own Swing enabled Java application within a layout region. So, that it seems as a seamless integrated approach rather run seperate window with netscape. I have tried with HTML component of HotJava and ICE Browser but since they do use AWT heavy rather than swing light we get several problems. How would this be most effectively acheived under Windows NT/95? Mon Nov 02 08:22:04 PST 1998 ellers This Question of the Week idea is great! Mine question is, I think, quite important to many developers: I want to make my program available for sale but I need it to be easily packaged and runnable by end-users; This is relatively easy to do in other programming languages - how can it be done in Java? Mon Nov 02 12:15:03 PST 1998 wlprice I was looking for a way to determine screen parameters in a Java Application at runtime. A programmer could use the Runtime class to recognize each platform and write a native method to get the information, but it would be a pain to do and would probably miss some platforms (goodbye portability). This type of information is often very valuable, and it would be nice to have it easily accessible. This is the solution , but the minor variation was I used a bat file to launch the browser . But this gave me a constraint that the Browser exe file should be in the path of system refering to Win 95/NT. If I want to run more than one application one after other or at a time. Wed Nov 04 20:42:35 PST 1998 mwhig How can I implement an image button in Java? By an image button I mean a Java Button with an icon/image as its label instead of a String. Fri Nov 06 13:11:55 PST 1998 kriff Under NT, you still need to use 'start' for it to work properly (use "cmd /c start <url>". Also, you can't use quotes because 'start' interprets it to mean the title you want for the DOS window, not as a command. THE INFORMATION PROVIDED IN THE JAVA DEVELOPER'S CONNECTION IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR, AND NON-INFRINGEMENT. BY USE OF THE INFORMATION YOU AGREE THAT NEITHER SUN MICROSYSTEMS, INC. NOR ITS LICENSORS WILL BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF SUN OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. THIS INFORMATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN. MAY MAKE IMPROVEMENTS AND OTHER CHANGES IN THE PRODUCTS AND THE PROGRAMS DESCRIBED HEREIN AT ANY TIME WITHOUT NOTICE.
|