devxlogo

Tip Bank

Save a URL as an MHT File

To save a URL as an MHT file (Microsoft “Multipurpose Internet Mail Extension HTML”?a Web Archive File), reference the Microsoft ActiveX Data Objects 2.7 and Microsoft CDO libraries and use

Force JScrollPane to Display a Scrollbar

Some of us may like to use the null layout instead of any ready layout manager. However, when it comes to using JscrollPane or other scrollable components, I’ve found that

Quickly Stop the Build in Your .NET IDE

Suppose you accidentally start building a big project and now you have to wait until the debugger (IDE) shows the stop icon. Use CTRL+Break and cancel the build.

What Image Formats Does Your Java Application Support?

Use this application to determine what image formats you can load and save in J2SE. import javax.imageio.*;class picture{ public picture(){} void RWF() { //read image formats System.out.println(“R-IF:”); String[] readFormats=ImageIO.getReaderFormatNames(); for(int