Using the Fog Filter with the RGBImageFilter Class
This tip shows you how to implement the fog filter using the RGBImageFilter class. import java.awt.image.*;import java.awt.*;public class FogFilter extends RGBImageFilter{int fogg; //0<=t
This tip shows you how to implement the fog filter using the RGBImageFilter class. import java.awt.image.*;import java.awt.*;public class FogFilter extends RGBImageFilter{int fogg; //0<=t
Use the following code to convert from Centigrade to Fahrenheit and vice versa: Function CentToFaren(ByVal cent As Double) As Double Return cent / 0.55555555556 + 32End FunctionFunction FarenToCent(ByVal faren As
In principle, in EJB 3.0, you can access a bean from another bean by looking it up in the interface (local or remote). Here are two solutions for doing that:
The #flastmod and #fsize server-side includes provide important information on web pages hosted by classic ASP web sites. The #flastmod include prints the date when the file was last modified.
First introduced in Oracle 9i, ANYDATA is a “self-describing data instance type” which means it not only holds the value, but it also holds its own data type within each
When you’re working with JDBC, you can load more than one JDBC driver in memory. To find out how many drivers are in memory, along with other useful driver information,
Use this Boolean function to determine whether a URL is valid: public static bool checkUrl(string url) { bool rt = false; if (url.StartsWith(“www.”)) { url = “http://” + url; }
You may need to use ORDER to force sequence numbers to be output in the order of request when you’re using them for timestamping. Most of the time, your sequence
Before using savepoints in your application, you need to be sure that your RDBMS supports this facility. To do this, call the DatabaseMetaData.supportsSavepoints method, like this: Connection conn=null;DatabaseMetaData dmd=null;…try{ dmd=conn.getMetaData();