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.
JLabel で画像を表示しています。その画像を円形で表示したい。つまり、JLabel の形状をデフォルトで Rectangle の Circle にしたい。JPanelまたはJLabelの形状を設定するには?? setUndecorated() と setShape() はフレームのみに定義されていますか?? JPanel や JLabel などの他のコンポーネントの形状を変更する可能性はありますか??