Java FAQ
You are here: irt.org | FAQ | Java
- FAQ 1486 How would you execute a process from within Java?<CFSet AllSales = ArraySum(GetSalesData["MonthlySales"])>
Submitted by Bill Sterzenbach
FAQ 4000 Is JavaScript same as Java?FAQ 4001 What type of images are currently supported by JVM in browsers?FAQ 4002 How can I preload an image before I paint it?FAQ 4003 How can I minimise "Flicker" in animation?FAQ 4004 What is MemoryImageSource?FAQ 4005 Can an applet write to a clients hard disk?FAQ 4006 How do I view the error output from my Java applets in IE?FAQ 4007 How do I increase the level of debugging information displayed in the Java Console of NS?FAQ 4008 How do I read a text/data file into an array?FAQ 4009 How do I parse a comma delimited string?FAQ 4010 Can Java include a Windows based .exe file in its applets?FAQ 4011 Why aren't Java Compatibility issues as much a problem as JavaScript?FAQ 4012 Can my JavaScript and my Java Applet on the same page talk to each other?FAQ 4013 Can I let my page know that my applet has loaded?FAQ 4014 Can I detect if a browser is neither Netscape 4 or IE 4, and automatically redirect to another page?FAQ 4015 How to do a floating image applet....for example..if you check out the geocities page their logo floats at the bottom right corner of the page..no matter where you scroll?FAQ 4016 Can I Resize my applet after it has been loaded by the browser?FAQ 4017 Help! My Netscape 4 at times freezes when I visit a page with Java AppletsFAQ 4018 Why do I keep getting a "java.lang.NullPointerException" when using arrays?FAQ 4019 How do I create and use multidimensional arrays in Java?FAQ 4020 What are picojava, microjava and Ultrajava?FAQ 4021 What is AWT?FAQ 4022 How do I make stand alone ATW applications?FAQ 4023 How do you open a URL from an applet?FAQ 4024 How can I open a URL in a particular frame?FAQ 4025 Can I send an Email from an applet?FAQ 4026 I have copied all the *.cla files still the applet won't startFAQ 4027 How do I capture mouse button events?FAQ 4028 My IE shows just a gray box in place of the Applet, works fine in NS4?FAQ 4029 What is a Class?FAQ 4030 What is an instance of a Class?FAQ 4031 Is there a way to let the applet know if a copy of the applet is already running?FAQ 4032 How do I run a CGI script from an applet?FAQ 4033 When I reload my applet my hidden canvas is shown directly! why?FAQ 4034 How do I show an hour glass cursor when some process is going on?FAQ 4035 What tools do I need to start writing Java Programs?FAQ 4036 Where is the documentation for Java Classes available?FAQ 4037 Which books do you recommend for a beginner?FAQ 4038 Which newsgroups do you recommend for a beginner?FAQ 4039 Which are the other Java newsgroups?FAQ 4040 I don't want to learn Java but I want a Java Shopping Cart which I can use for free?FAQ 4041 Which the current version of Java which is most popular? Where Can I get it?FAQ 4042 What are signed Applets?FAQ 4043 Can some one copy my applet from my pages and use it on his own?FAQ 4044 Is there no way that any one can get my class files?FAQ 4045 I do not want to keep the Class files on my server - They are a risk?FAQ 4046 My JDBC applet works fine with appletviewer but fails in a browser?FAQ 4047 How do we exchange data between Java and JavaScript and vice-versa?FAQ 4048 I know that using Java I can open a document in another frame using showDocument, but, how can I generate the content of that frame instead of getting it from a URL?FAQ 4049 How do I add an audio file to an applet (or application) without using an URL?FAQ 4050 How does one receive a text file using an Applet?FAQ 4051 I am trying to create a three tier client/server in which the client (a Java applet in a web page) collects information, creates a SQL string and send this to a Java JDBC application. It works fine locally using appletviewer and localhost. How do I make this application run as a service on the web server?FAQ 4052 Is it possible to print a form to a printer from either an applet or application?FAQ 4054 What is the difference between Java and JavaScript?FAQ 4055 I have two .java files, in one I create a new instance of the class in the second. However, when I compile the source I get the following error: "Class sql not found in type declaration", how do I get round this?FAQ 4056 How can I catch the OutOfMemoryError exception when running an applet>FAQ 4057 I found a great "thing" on a site and would like to use it. This "thing" I assume is in Java and I think it is called an applet. There is an associated file with it called "fw.class". How do I create a html file to run this "applet"?
FAQ 4058 I get errors saying: "compiling: x.java x.java:3: Package x.servlet not found in import. import x.servlet.*" - whatis wrong?FAQ 4059 How do I pass a variables value from an Applet to HTML and vice versa?FAQ 4060 Is there any any way I can call functions of a java class from Server Side JavaScript?FAQ 4061 How can an applet which retrieves data through a http connection from a textfile, load the real one instead of the cached copy?FAQ 4062 How do I display an image over a button in Java?FAQ 4063 Is there a way to reduce the amount of time that it takes to download an applet?FAQ 4064 How can a Java applet get data from a website which is different from the location it was downloaded from?FAQ 4065 Can Java applets talk to each other?
FAQ 4066 Is there any way to load applet faster in a HTML site?FAQ 4067 What are the various steps involved in dividing an applet into two frames so that two sepearate files can be displayed in two frames?FAQ 4068 How do I display an Excel graph via a Java applet?FAQ 4069 How do I know when a applet is loaded and how can I visualize the applet's loading on the page (i.e. a progressbar)?FAQ 4070 How do I close the browser window when an applet closes?FAQ 4071 How do I use Java Object in JScript in Internet Explorer?FAQ 4072 What is the diference between Java and c++?FAQ 4073 How can I get text to lean (at about 60 degrees) using Java?FAQ 4074 Can one applet load another applet on runtime, and can these two applets talk?FAQ 4075 In Internet Explorer 5 I have all the boxes checked for Java, but when I go into a chatroom all I see is an outline of a box and a little icon that looks like a square, circle, and triangle. What is wrong... I can not look at any applets?FAQ 4076 Why, when I view an applet with Netscape Navigator 4, then modify the applet, re-compile, and call up the applet again , the changes don't appear, but it uses a cached version?FAQ 4077 I use Java applets to chat on Yahoo, is everything I type recorded onto my hard drive or network?FAQ 4078 In C, I can use the system function to execute DOS-like commands e.g system("dir"); is there an equivalent in Java?FAQ 4079 How can I sign an applet?FAQ 4080 Does my applet source code have to be in my html page, or can I call it as you might a .js file in javascript, if so, what is the proper code/syntax?FAQ 4081 I have written a servlet that sets AutoCommit(false) and executing several insert statements with a final commit at the end. When this servlet is accessed simultaneously by several browsers, the servlet hangs and has to be restarted. Is there a way to prevent this from happening?FAQ 4082 How can I open a Microsoft Word document from an applet?FAQ 4083 How would you execute a file from within a Java file?FAQ 4084 Is is possible to have the server send html to the browser that contains data from a server side database and have the page contain a java applet (that has security access to read the local hard drive) to read the local hard drive and *add to* the html page?FAQ 4085 What is a JAR file?FAQ 4086 How do I learn the basics of Java?FAQ 4087 How to send SMTP mail from a servlet?©2013 Martin Webb 