DirectionButton var8 = (DirectionButton)((Container)var4).add(new DirectionButton(tl_dot, tldn_dot, "NW", "Sets the orientation to the North-West", var2, var7, var1.equals("NW")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var4).add(new DirectionButton(tm_dot, tmdn_dot, "N", "Sets the orientation to the North", var2, var7, var1.equals("N")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var4).add(new DirectionButton(tr_dot, trdn_dot, "NE", "Sets the orientation to the North-East", var2, var7, var1.equals("NE")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var5).add(new DirectionButton(ml_dot, mldn_dot, "W", "Sets the orientation to the West", var2, var7, var1.equals("W")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var5).add(new DirectionButton(c_dot, cdn_dot, "C", "Sets the orientation to the Center", var2, var7, var1.equals("C")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var5).add(new DirectionButton(mr_dot, mrdn_dot, "E", "Sets the orientation to the East", var2, var7, var1.equals("E")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var6).add(new DirectionButton(bl_dot, bldn_dot, "SW", "Sets the orientation to the South-West", var2, var7, var1.equals("SW")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var6).add(new DirectionButton(bm_dot, bmdn_dot, "S", "Sets the orientation to the South", var2, var7, var1.equals("S")));
((AbstractButton)var8).setEnabled(var0);
var8 = (DirectionButton)((Container)var6).add(new DirectionButton(br_dot, brdn_dot, "SE", "Sets the orientation to the South-East", var2, var7, var1.equals("SE")));