List of usage examples for com.jgoodies.forms.layout FormSpec toString
@Override public final String toString()
From source file:com.intellij.uiDesigner.compiler.FormLayoutUtils.java
License:Apache License
public static String getEncodedSpec(final FormSpec formSpec) { String result = formSpec.toString(); while (true) { int pos = result.indexOf("dluX"); if (pos < 0) { pos = result.indexOf("dluY"); }/*from ww w . j a va 2 s . c o m*/ if (pos < 0) { break; } result = result.substring(0, pos + 3) + result.substring(pos + 4); } return result; }