MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to General Development
View previous topic Printable version Log in to check your private messages View next topic
Author Message
CasaDelGato
Post subject: Size of JTable in Form  PostPosted: Jan 25, 2011 - 01:55 AM
Registered Member
Registered Member


Joined: Sep 30, 2010
Posts: 21

I have a new form with a JTable in it. (wrapped in a JScrollPane of course)
The table has a simple data model with a fixed number of rows and columns.
All of this is placed in a GridBagLayout. (No Fill)

The problem is that when it's displayed, the Scroll Pane is twice as tall as the Table, so there is this big blank area under the table. looks really stupid, and wastes a LOT of screen space.
Any suggestions on what settings I need to check to get rid of this?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-joy
Post subject: RE: Size of JTable in Form  PostPosted: Jan 31, 2011 - 12:09 PM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

CasaDelGato,

Can you answer below queries -
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details
2. How did you install ME? Meaning all-in-one installer / pulse / archived update site on top of eclipse classic
3. I have tried this in ME 8.6 and ME 9.0 M2, the scroll pane looks fine. Can you please elaborate the steps you have taken which results in the above issue.
4. Can you also include screenshot which will help get me a visual

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
CasaDelGato
Post subject:   PostPosted: Jan 31, 2011 - 07:33 PM
Registered Member
Registered Member


Joined: Sep 30, 2010
Posts: 21

1)
*** Date:
Monday, January 31, 2011 11:24:56 AM PST

** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.6.1
Build id: 8.6.1-20101117


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.6.1
Build id: 8.6.1-20101117






Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\Cougar\AppData\Local\Genuitec\MyEclipse-8.6\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Users\Cougar\AppData\Local\Genuitec\MyEclipse-8.6\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Users\Cougar\AppData\Local\Genuitec\MyEclipse-8.6\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Users/Cougar/AppData/Local/Genuitec/MyEclipse-8.6
-configuration
configuration
-vm
C:/Users/Cougar/AppData/Local/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

2) Downloaded the huge all-in-one installer. The ala-carte installer would hang every time I tried it.

3) Added a table with a bunch of pre-defined values to the form. I'll attache the form (and java) along with some screen shots.
It's pretty odd in that I can adjust the form size in the editor to fit everything ok, but when I preview it, or run the app, the form gets MUCH taller and narrower.

hmm, no way to attach files. So I put them on my website:

http://www.casadelgato.com/work/FormPreview.jpg
http://www.casadelgato.com/work/FormInEditor.jpg
http://www.casadelgato.com/work/TableProblem.zip
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Feb 02, 2011 - 11:12 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

CasaDelGato,

Thank you for the details. I do see that this is an issue. I have raised a PR with the dev team. Sorry for the inconvenience.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits