问题描述
有没有办法编辑网格窗格内的标签?
![enter image description here](https://i.stack.imgur.com/VrJhs.png)
我想将值为 1 的标签更改为运行中。
这是我的布局
![enter image description here](https://i.stack.imgur.com/dwemr.jpg)
我已经使用了这段代码,但它只是添加了新标签,不会编辑它们。
for(int j=1;j<6;j++){
for(int i=0;i<7;i++){
gpCalendario.add(new Label(i+","+j),i,j);
}
}
![enter image description here](https://i.stack.imgur.com/i242n.png)
这是我不希望它做的。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)