Understanding the Java ClassLoader
The Java ClassLoader is a crucial, but often overlooked, component of the Java run-time system. It is the class responsible for finding and loading class files at run time. Creating your own ClassLoader lets you customize the JVM in useful and interesting ways, allowing you to completely redefine how class files are brought into the system.
Read more
Using The Java Native Interface
In this tutorial we illustrate how the Java Native Interface (JNI) can be used to permit Java programs to communicate with C programs. We begin by compiling the Java program and the C program at the command prompt (i.e. outside of Eclipse) using the MinGW gcc compiler. Once the programs are compiled and executing correctly, we show how the programs can be integrated into an Eclipse project using the CDT plugin.
Read more
jSIMPLEBUG: a Swarm tutorial for Java
This tutorial takes the user through the development of a Swarm model using the Java programming language. The model itself is a very simple one, but the application we build step by step around it makes use of a lot of the functionality of Swarm and demonstrates many of Swarm’s features. This Java-based tutorial borrows heavily from an earlier Objective-C-based tutorial by Chris Lanton and the Swarm development team. Indeed, the Java code is pretty much a loose translation of their Objective-C code and portions of the text are theirs as well. There are a number of changes, however, to reflect this tutorial’s focus on using Swarm with Java rather than Objective-C.
Read more
Using Visual Basic in Arc8 Raster Processing Form Example
This is a VERY simplistic introduction to customizing Arc8 with VB (or VBA) partly because I don’t fully understand what’s going on and partly because it seems like it’s going to be a steep learning curve if you’re not used to VB or COM programming.
We’re going to be using one of Arc8’s sample forms to play around with some grid processing and visualization. It uses a form with many different control objects to create this functionality. This should build upon Deanna’s presentation of using the various controls and changing their associated properties. Now, we will put the VB code “behind” these controls so that the events generated by clicking buttons, sliding bars, etc. do something.
Read more
STK X Tutorial - Visual Basic 6
In this exercise you will gain hands-on experience using STK X to embed STK functionality in a container application created with Visual Basic 6.0
Create the project
1) Start Microsoft Visual Basic 6.
2) A dialog box will open asking whether you want to create a new project. Select Standard EXE .
3) If Form1 now appears in the designer, skip to the next section. Otherwise proceed to the next step.
4) If a default form was not created automatically, click on the Add Form button in the toolbar to create a new one.
5) In the dialog box that appears, select Form . The form will be opened in design mode.
Read more