@Override public void initShape() { super.initShape(); isHover = true; JmolFont font3d = gdata.getFont3D(FONTFACE, FONTSTYLE, FONTSIZE); short bgcolix = Colix.getColix("#FFFFC3"); // 255, 255, 195 short colix = Colix.BLACK; currentObject = hoverText = new Text( gdata, font3d, null, colix, bgcolix, 0, 0, 1, Integer.MIN_VALUE, Object2d.ALIGN_LEFT, 0); hoverText.setAdjustForWindow(true); }