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.
私はJavaの初心者なので、質問があります。たとえばJTable、 Color の 2D 配列を表すがある場合
JTable
Color [][] array = new ...
そのため、実行するJFrameと表示されます
JFrame
では、どうやって色をつけようか?
cellrenderer を JTable にアタッチして、色を調整できます: http://docs.oracle.com/javase/tutorial/uiswing/components/table.html#renderer