Componentのサイズ指定 http://java.sun.com/docs/books/tutorial/uiswing/layout/problems.html ContainerでLayoutManagerを使っている場合で、そのContainerにaddするComponentのサイズを明示的に指定したい場合、 ComponentのsetMinimumSize, setPreferredSize, setMaximumSize に同じサイズを指定する。setSizeはLayoutManagerによって呼び出される(と思われる)ので、使っても上書きされてしまう。 明示的にサイズを指定した後に、自動計算されるサイズを有効にしたい場合は、setXxxSizeにnullを指定する(経験則)。 すでに表示されているComponentのサイズを変更した場合、そのrevalidateを呼んで、
MigLayout - Java Layout Manager for Swing, SWT and JavaFX "MiG Layout makes complex layouts easy and normal layouts zero-liners." View this PDF for a Fast Start! MigLayout - Easy to use yet very powerful Java Swing, JavaFX and SWT layout manager For Java developers writing GUI layouts by hand that wants simplicity, power and automatic per platform fidelity, that are dissatisfied with the current l
日本語でJGoodies Bindingを扱った記事というのはなかなかないので、ちょっとだけ書いてみる。僕自身の経験と理解をもとにしているので間違えてたらごめんなさい。 JGoodies Bindingって何? JGoodies Bindingは、あるオブジェクトが持つ値(典型的にはJavaBeanのプロパティ)と、SwingによるGUIをカンタンに同期させるためのフレームワークだ。Karsten Lentzsch氏がJGoodies Swing Suiteの一部として開発して、BSDライセンスで公開している。 たとえば、あるJavaBeanにint型のプロパティがあって、JTextFieldにその値を表示させるとしよう。JGoodies Bindingを用いて同期させれば、JTextFieldの値を編集した場合にオブジェクトのプロパティが自動的に更新されるし、別の要因(Undoなど)でオ
Get MyDoggy 1.5.0 (Beta 1) Now!!! Released: December, 2010 MyDoggy 1.5.0 (Beta 1) MyDoggySet (WebStart), TutorialSet (WebStart) License (LGPL) Contact. MyDoggy is a Java docking framework to be used in cross-platform Swing applications. MyDoggy is an IntelliJ Idea like docking framework for managing secondary windows within the main window. MyDoggy allows to move, resize or extract those secondary
JGoodies offers freeware, products, design, and services that help you work with Java desktop both effectively and efficiently. We help you modernize your Java user interface towards Windows 11 and Material Design. And we assist you in the transition from desktop client to web and native apps. Java Frontend with Style Our libraries help you beautify your desktop apps and build well designed, consi
Java SE 6 コードネーム Mustang の新機能を紹介 あなたは野生馬を乗りこなせるか (2007.2.10 更新)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く