Quizzes Index
by Ed Ort
December 2008
var days = ["Mon","Tue","Wed", ["Thu", ["Fri","Sat","Sun"]]];
@UriTemplate("/users/");
<APPLET>
<PARAM value="dragdrop">
<OPTIONS name="drag" value="true">
<PARAM name="draggable" value="true">
import java.awt.*; import javax.swing.*; public class VerticalBoxTest { public static void main(String args[]) { JFrame frame = new JFrame("Vertical Box"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Box box = Box.createVerticalBox(); box.add(new Button("Top")); box.add(Box.createVerticalStrut(25)); box.add(new Button("Middle")); box.add(Box.createVerticalStrut(10)); box.add(new Button("Bottom")); frame.add(box, BorderLayout.CENTER); frame.setSize(300, 200); frame.setVisible(true); } }
import java.awt.*; import javax.swing.*; public class VerticalBoxTest { public static void main(String args[]) { JFrame frame = new JFrame("Vertical Box"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Box box = Box.createVerticalBox(); box.add(new Button("Top")); box.add(Box.createVerticalGlue()); box.add(new Button("Middle")); box.add(Box.createVerticalGlue()); box.add(new Button("Bottom")); frame.add(box, BorderLayout.CENTER); frame.setSize(300, 200); frame.setVisible(true); } }
login()
authenticate()
validateRequest()
AccessServiceAuthenticationModuleStatus()
thr
import javax.realtime.*; public class PeriodicThread { static RealtimeThread thr; static { int prio = PriorityScheduler.instance().getMaxPriority(); RelativeTime period = new RelativeTime(20,0); thr = new NoHeapRealtimeThread( new PriorityParameters(prio), new PeriodicParameters( period), ImmortalMemory.instance()) { public void run() { . . . } }; } . . .. }