一个横向的标题栏超出页面显示的宽度,如何实现鼠标点击拖拽标题栏达到左右拖拽查看完整标题的目的

2024-11-30 15:27:07
推荐回答(2个)
回答1:









Drag Me1

test




Drag Me2

test




Drag Me3

test




回答2:

String[] s={"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
System.out.print("请输入数字(1-12):");
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int m=Integer.parseInt(str);
if (m<=0||m>=13)
{