我有一个字符串数组,代表下拉菜单中的选项。
String[] s_reflection_map = {
"x=W–1–x mod W ",
"x/W even x=x mod W; odd x=W–1–x mod W, no PI",
"same, but with Pixel Interpolation ",
"x=x mod W/2, y=y mod H/2 ",
"x>W–1,x=x mod W else x=W–1–x mod W ",
"x<W,x=x mod W//2 else x=W–1–x mod W ",
"x/W even,x=x mod W/2;odd x=W–1–x mod W/2 ",
"x/W even,x=x mod W/2;odd x=(W–1)/2–x mod W/2",
"simple "
};
JComboBox<String> jcb_reflection_map = new JComboBox<>(s_reflection_map);
减号,字符“-”不能正确显示。
谁能提醒我为什么减号是非法字符?