You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
330 B
23 lines
330 B
member.func(new List() {{
|
|
add("Text");
|
|
add("Text",
|
|
"Hello");
|
|
}});
|
|
|
|
|
|
private static final Set<String> VALID_CODES = new HashSet<String>()
|
|
{{
|
|
add("XZ13s");
|
|
add("AB21/X");
|
|
add("YYLEX");
|
|
add("AR2D");
|
|
}};
|
|
|
|
add(new JPanel(){{
|
|
setLayout(...);
|
|
setBorder(...);
|
|
add(new JLabel(...));
|
|
add(new JSpinner(...));
|
|
}});
|
|
|