/** * Constructor * * @param glu * @param outputMode * @param withparam * @param target * @param radius * @param rows */ public VizieRPanel( Glu glu, int outputMode, boolean withparam, String target, String radius, int rows) { try { this.aladin = glu.aladin; // pas très beau tout ça ! createChaine(); this.outputMode = outputMode; // vq = new VizieRQuery(); vq.setGLU(glu); // VizieR call for meta information if (vq.metaDataQuery() == false || vq.getNameKey().size() == 0) { System.err.println( "VizieR meta query error " + (vq.getMetaError() == null ? "" : vq.getMetaError())); } nSection = vq.getNameKey().size(); this.setLayout(borderLayout1); makeForm(withparam, target, radius, rows); } catch (Exception ex) { ex.printStackTrace(); } }