List of usage examples for javax.media.j3d Canvas3D setCursor
public void setCursor(Cursor cursor)
From source file:VrmlPickingTest.java
protected void addCanvas3D(Canvas3D c3d) { setLayout(new BorderLayout()); add(c3d, BorderLayout.CENTER); doLayout();// w w w .ja v a 2s . c o m if (m_SceneBranchGroup != null) { c3d.addMouseListener(this); pickCanvas = new PickCanvas(c3d, m_SceneBranchGroup); pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); pickCanvas.setTolerance(4.0f); } c3d.setCursor(new Cursor(Cursor.HAND_CURSOR)); }