英文:
how to make changes in properties in java frame appear when you export project to zip file
问题
我用 JavaFrame 制作了一个 Java 项目,并且我修改了对象的属性(例如,为一个按钮更改了字体颜色和字体格式),而且我还通过设计工具为标签添加了图片,而不是通过源代码。但问题是,当我将项目导出给我的老师时,界面的设计消失了,而且图片也不存在。我确保将这些图片放在了项目的一个文件夹中,并将项目导出为压缩文件。是否有一种方法可以使这些变更在源代码中显示出来?而不仅仅是在我的电脑上显示?
英文:
I made a project in java by javaFrame and I modified the properties of the objects(like font color and font format for a button for example) and I also added images not by code source instead I did it by design tool for a label. but the problem is that when I export the project to my teacher it was without design and the images do not exist. not that I put the images in a folder in the project and I exported the project as zip file.
is there is a method to make the changes appear in source code? not only in my lap?
专注分享java语言的经验与见解,让所有开发者获益!
评论