Java/Advanced Graphics/Interaction
Annotation, Interaction and Transparent Color Scale
<source lang="java">
import java.util.Collection; import java.util.Iterator; import java.awt.*; import java.awt.event.*; import javax.swing.*; import no.geosoft.cc.geometry.Geometry; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
-
*
- Annotation techniques *
- Custom interaction *
- Invisible lines with annotation *
- Using transparent colors *
- True scale resize *
* * @author
Custom Interaction
<source lang="java">
import java.util.List; import java.util.Iterator; import java.util.ArrayList; import java.awt.*; import javax.swing.*; import no.geosoft.cc.geometry.Geometry; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
-
*
- A sample interactive game application *
- Custom interaction *
- Dynamic graphics highlighting *
* * @author
Custom Move Interaction
<source lang="java">
import java.awt.*; import java.awt.event.*; import javax.swing.*; import no.geosoft.cc.geometry.Geometry; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
-
*
- Custom move interaction *
- Switching interactions *
- Update world extent geometry *
- Scroll handling *
* * @author