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.
Buttonに追加されたときにをアニメートしたいのですがForm、そのレイアウト マネージャーは、その位置のグリッド セル領域を占有する前に、 がスムーズに下に移動するようにしGridLayout(2,2);たいのです。ButtonLWUITでそのアニメーションを行う方法は?
Button
Form
GridLayout(2,2);
ボタンをフォームに追加するだけで、repaint/revalidate などを呼び出さずに、代わりに invoke を呼び出しmyForm.animateLayout(500);ます。
myForm.animateLayout(500);
これは明らかに 1.5 以降でのみ機能します。LWUIT デモのアニメーションとレイアウトのセクションでこのサンプルを確認できます。
NOTE: SSCCE at the end of this question
I'm new to SwingWorker so please bear with me.
SwingWorker
I'm using a GUI and when the user presses a button it exec