/* * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * – Redistributions of source code must retain the above copyright * notice, this list of [...]
Read More >>
Passing by value and Reference original link In java you cannot pass by reference. Though you can manipulate data in a function like so. public void tricky(Point arg1, Point arg2) { arg1.x = 100; arg1.y = 100; Point temp = arg1; arg1 = arg2; arg2 = temp; } public static void main(String [] args) { [...]
Read More >>
This is not a scientifically proven method, it’s my method of research so do not use me as a reference, but only as a hindsight. Deciding which Web Framework to use requires a degree of research. The decision depends on the requirements of the project and your knowledge of the language the framework uses. If your preficient [...]
Read More >>
Helvetica is a feature-length independent film about typography, graphic design and global visual culture. It looks at the proliferation of one typeface (which recently celebrated its 50th birthday in 2007) as part of a larger conversation about the way type affects our lives. Helvetica has been shown at over 200 film festivals, museums, design conferences, [...]
Read More >>
Web-harvest is an open-source java based web extraction tool. It uses Xpath, XSLT and XQuery functions to do the job. For example, you can open a URL website and convert the html to an XML file, which then using Xpath you can extract specific elements from the page. Using XQuery you can do some logic [...]
Read More >>
Steps to get you started developing using Java under windows. Will cover: setup and installation + Helloworld program basic syntax with examples advanced syntax and example a sample GUI program Setup and Installation + HelloWorld program First, you need to install the JAVA SDK called JDK, from here: http://java.sun.com/javase/downloads/index.jsp Download the first Version which is [...]
Read More >>
In this post I’ll show you the control method to open up a separate windows from another one on a user response. For example, lets say you have an “about” button and on a user click, you want to open up a separate window with some static text in it. Or it might be the [...]
Read More >>
In this post, I’ll show you how to create a custom window without the generic windows title bar, minimize, maximize and close button. Usually This type of window are simple programs or basic pop-up dialog boxes. This tutorial includes how to make the custom skin window, and how to make drag-able and also include a [...]
Read More >>
OBJECTIVE: search through all the cells in the worksheet and replace the empty (null) cells with an empty string ” “. WEB TUTORIALS AND SOURCES: http://msdn.microsoft.com/en-us/library/aa221353(office.11).aspx ————————————————————————————————————————————— INTRO: To open/close the VBA editor, press ALT + F11 in the excel program. double click a sheet which you’d would like to run the code inside from [...]
Read More >>
XML parsing is the sh*t. It is used so often that most programming languages have a ready XML parsing library. ————————————————————————————————————————————— OBJECTIVE: This is the XML file structure that we want to parse: 13 Estella Warren Garejoor 1/86-100 Market St, Sydney New South Wales 2000, Australia (02) 9592 5656 someguy@gmail.com AND HERE WE GO: to [...]
Read More >>