Here you can find the source of getTexturesMenuItem()
public static JCheckBoxMenuItem getTexturesMenuItem()
//package com.java2s; //License from project: Open Source License import javax.swing.JCheckBoxMenuItem; public class Main { public static JCheckBoxMenuItem texturesMenuItem = new JCheckBoxMenuItem("Textures", false); public static JCheckBoxMenuItem getTexturesMenuItem() { texturesMenuItem.setToolTipText("Turn textures on/off"); return texturesMenuItem; }/*from w w w .j a va 2s . co m*/ }