canvas3d

Java3D with Canvas3D and button overlapping

懵懂的女人 提交于 2019-12-11 09:34:56
问题 i've been doing some introduction to solidstate physics with using Java3D. After delving into many 3D things inside, decided to put some buttons to test different things. My problem emerged here. In the below picture, i was using setLayout(null) to place buttons and Canvas3D: What i did not want here is: Canvas3D overlaps buttons. Canvas3D does not stretch to keep same ratio of picture size / window size so when i resize window it just is in same size. Then i tried using setLayout(new