Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种将命令窗口中的整数格式化为简单表格的方法。我知道有一些方法可以使用 swing (JPanel; JFrame) 创建表,但我正在寻找有关如何将字符串格式化为列以便在命令窗口中轻松显示的资源。
任何详细的参考资源或代码示例将不胜感激!