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.
我最近在 MS PowerPoint 2007 上工作,我对演示文稿窗口中文本的旋转选项很感兴趣。
现在,我创建了一个 JTextArea,其中包含一些文本。
现在我想要的是我想用鼠标旋转 JTextArea(在 MS PowerPoint 2007 中类似)
但我不知道如何开始。
提前致谢
如果您只是不知道如何开始,这里有一个提示:
paintComponent(Graphics g)
((Graphics2D)g).rotate(degreeInRadians)