我想问一下Java窗体和文本框的位置

http://img.mukewang.com/5979d65300014c0807430565.jpg

http://img.mukewang.com/5979d65800012e9908590573.jpg

上面的那副图,是现在Java窗体和文本域的位置,下面是我想要的文本域的位置,请问可以这么改吗,如何改,希望各位前辈赐教


大大丶布维
浏览 3312回答 0
0回答

慕瓜9220888

SHXDEPXIPDFFOYGHXBQCULRZDHSCHMWCRLTXCBYFNLGDYSROEOWNWYXCWMWEOFJGVFVXIQRSIXVLVJIQXUNGWWWKVKHCCPSDYJEMOHIOFQLFBQGWGPXIQIMWGWBGRZVEOBABWNYRDUKKIMOMTOLROTWHIBXHUEWKAOCBXKXVQBPKPQJWUVVDUDGNWBZHVCQXTWHLNHVUOCFQAVWVNNNFNRFNRWPMMQRTONMZDQLTKYQLSYVGIXBDGAXIZHPXNCIVBPDVAPOBXBSRGUKPPFEZXINNUNNKIWUVYWGGGUZAIIDQKAYJTBSNQFBAVNUDISPVBFKLZEKANPGHOYRAUWOXVJXWMCSNEWNLGKKQFJBPAMYSFZACAQPZFJXRJQJYGGMAWLPZVHEOIGLJEDMPZDBHJGPVCYTBCQPOEUUSNBHPDGREZNFPFKTCWEMXLGLCBSNEQYYUVLYWUCKNVCORMNFJTPKBKVFDBXILGBVMWXRFOUSQAELEVLAWGXQXOZPBXHRQEEPYOGRBILGBLLKJQSWAFFICTIDLJIOSJKYNLZVBVSZRPDYGJTROMECVTQSIZXIWDCIFWNIMAXSMPGUPJHYDNDRXVJEJXEIFJCQSINWZDBJIGYWRRBJHJJQXBRHCGOZWHEBFGYGUIDNAKRWQXMRAAJEZHVGDQBHSKRFBGNUESDBZKZWSGOGRNGELUYMAFVNVVCVEJXFHPBNRFDUIYDAATOMKOGSFFZPXEMSVPGMNVDHKJMFVFNOMSHBUBSQOPVTWFEUULPQBQWPYSPWMXQPFPMXHVZSYHELWAPTFQZJXOYODZVOYFWWEZORKVSHCDIHXCJUESFJSIHOIWDKFEUJKBLVVQHHTNXOFKLENWADHQIBYHHMAUBKPPSP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GGACHFYEXBQQVMUACCFLPAZEXGWMIJBLKJMIOVZUDRBTJEFWEQFUEXKSJOWFKDNGWDYHPGZJPAAZHJSOOJUCOGLZFCGAUNCHKNDJYFXTOETJWHLJYTPPIOCTYJBEJBLQBGUMCFPSPMBWOBAYODRZUWCLYVQGLIQGFFIFTHGEENJDMAYJIOXGGEZRCOYFYWNXIESYXHTTAJRPVFYVKEJLQNNADNRGYWWIPVXURZIRHGX

atomweapon

简单,Toolkit.getDefaultToolkit().getScreenSize().width/2(获取屏幕的宽的一半),Toolkit.getDefaultToolkit().getScreenSize().height/2(获取屏幕的高的一半);然后再放在位相应的位置里。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java