private void jmi_selectActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jmi_selectActionPerformed
    {//GEN-HEADEREND:event_jmi_selectActionPerformed
        TreePath tp = jt_database_table_list.getSelectionPath();
        String q = "select * from ";
        if (tp.getPathCount() == 3)
        {
            for (int i = 1; i < 3; i++)
            {
                if (i == 1)
                {
                    q += tp.getPathComponent(i).toString() + ".";
                } else
                {
                    q += tp.getPathComponent(i).toString();
                }
            }

        } else
        {
            for (int i = 0; i < 2; i++)
            {
                if (i == 0)
                {
                    q += tp.getPathComponent(i).toString() + ".";
                } else
                {
                    q += tp.getPathComponent(i).toString();
                }
            }
        }
        if (sql_exe != null)
        {
            sql_exe.set_query_and_exec(q);
        }

    }//GEN-LAST:event_jmi_selectActionPerformed