Last active
March 10, 2019 12:20
-
-
Save ezhov-da/37f9fc7bda65ef44f7515ef14a63b305 to your computer and use it in GitHub Desktop.
java получение изображения компонента
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://ru.stackoverflow.com/questions/587879/%D0%9F%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5-%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F-jtextpane-%D0%B1%D0%B5%D0%B7-jframe-pack/588039#588039 | |
Если необходимо получить изображение компонента, кладем компонент в JPanel, устанавливаем размер и делаем doLayout. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment