H
Hilfe
Gast
Hallo zusammen,
Ich brauche dringend Hilfe, und zwar, im Folgenden Text brauche ich einfach das nur javax.swing.JButton ausgegeben wird...... Also das was zwischen dem \ und [ steht.
Ich weiss nicht wie ich es machen soll.... :bahnhof:
FileChooserDemo$InsetPanel\javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@12b7eea,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Show FileChooser,defaultCapable=true]\
so habe ich es mir gedacht, nur es ist einfach nur falsch
String[] str= s.split("\\"); // s ist der Text der Oben steht
String[] str2 = s.split("[");
System.out.print(str);
System.out.print(str2);
Ich hoffe sehr das mir hier geholfen wird.....
Vielen Dank
Ich brauche dringend Hilfe, und zwar, im Folgenden Text brauche ich einfach das nur javax.swing.JButton ausgegeben wird...... Also das was zwischen dem \ und [ steht.
Ich weiss nicht wie ich es machen soll.... :bahnhof:
FileChooserDemo$InsetPanel\javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@12b7eea,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Show FileChooser,defaultCapable=true]\
so habe ich es mir gedacht, nur es ist einfach nur falsch
String[] str= s.split("\\"); // s ist der Text der Oben steht
String[] str2 = s.split("[");
System.out.print(str);
System.out.print(str2);
Ich hoffe sehr das mir hier geholfen wird.....
Vielen Dank