Java:The Pitfalls of Inheritance Part-1
In Object Oriented Programming, inheritance is a commonly used mechanism to model the relationship between two types. However, modelling such relationship …
Continue readingIn Object Oriented Programming, inheritance is a commonly used mechanism to model the relationship between two types. However, modelling such relationship …
Continue readingDatabases Why not store parameters in a database? If your application is already using a database, you might consider defining a special table for this purpose. …
Continue readingAlternatives to the command line Giving parameters on the command line is not always the best way to enter properties for your program. A typical situation …
Continue readingIntroduction Every programmer will encounter a situation where a choice must be made between various alternative solutions. Should tabular data be sorted in one …
Continue readingLists You will recall that in the SELECT widget in HTML programming, you could select how many choices were visible at any one time using the SIZE attribute. …
Continue readingStatic Text with Label The Label class gives you the ability to draw a single line of text in your application. There is not much to it, consider the following …
Continue readingUsing the AWT To Build User Interfaces Now we will make a big jump: we need to go from a simple application to a more serious one that will be representative of …
Continue readingBuilding a Jar File After you have created your ZIP and CAB archives, you can then create a JAR (Java ARchive) file that will contain your compressed and …
Continue readingBuilding a Cab File After you have created your ZIP archive, you can then create a CAB (CABinet) file that will contain your compressed and archived applet for …
Continue readingBuilding a Zip Archive The first archive you will want to build is the ZIP archive, the oldest and most supported of the three. For this reason, it should be …
Continue reading.zip, .cab, and .jar Distribution History As we noted earlier, for most of the history of Java development, there was really no packaging. For the most part, …
Continue readingIntroduction Once you have finalized your applet code, the final stage in the development process will be to determine how to make your program available to …
Continue reading