This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.event.MouseEvent; | |
import java.awt.event.MouseMotionAdapter; | |
import javax.swing.JTabbedPane; | |
import java.util.HashMap; | |
import java.util.Runnable; | |
public class MouseReactiveTabbedPane extends JTabbedPane { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Usage: | |
* all LaTeX source files go in $rawDirectory | |
* base document to 'cook' should match content of $latexFile | |
* build script delivers resulting PDF file to $cookedDirectory | |
*/ | |
defaultTasks 'full' | |
ext { documentBase = 'myBaseLaTeXFileName' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* public interfaces for controller and view components to implement for a model */ | |
public interface StrictModelViewer extends Observer {}; | |
public interface StrictModelComtroller; | |
public class StrictModel extends Observable { | |
/* All model changing calls must come from classes implementing StrictModelController */ | |
public void alterModelState() { | |
assert ReflectionUtilities.callerImplements(StrictModelController.class); | |
this.setChagned(); |