private javax.swing.JList<GoToItem> jList1;
private javax.swing.JScrollPane jScrollPane1;
// End of variables declaration//GEN-END:variables
private void openSelected() {
GoToItem item = jList1.getSelectedValue();
FileObject fileObject = item.getFileObject();
int offset = item.getOffset();
if (fileObject != null && offset >= 0) {
if (offset == 0) {
try {
DataObject dataObject = DataObject.find(fileObject);
EditorCookie ec = dataObject.getLookup().lookup(EditorCookie.class);