- This topic has 8 replies, 5 voices, and was last updated 16 years, 9 months ago by myeclipseuserng.
-
AuthorPosts
-
rfulkersonMemberHello,
I will be deploying my app with Java 6, and would like to use javax.swing.GroupLayout, instead of org.jdesktop.layout.GroupLayout, since GroupLayout is now included in the jre.
Is it possible to get Matisse to generate code using the javax.swing package?
Thanks,
Ron
Riyad KallaMemberRon,
Not at this time. We will likely clean up this requirement with our 6.0 release later this year (5.5 is currently undergoing last minute testing for our M1 release, but no major changes to Matisse are going in that release, just bug fixes and cleanup).
IchyBanMemberHi!
I’m using now jdk 6 and for an application i used javax.swing.GroupLayout instead of org.jdesktop.layout.GroupLayout but at school we have jdk 1.5 so my application is good for nothing if it doesn’t exits a jar like swing_layout_1.0.jar used for org.jdesktop.layout.GroupLayout….can anyone help? Thanks
jdeeganMemberHi,
I am using matisse 6 and just realised that the javax.swing.GroupLayout is java 6 only. However in the software I am working on we have a policy of not going above java 5. Is there any way to configure Matisse to use only classes up to java 6?
Thanks,
Jen
jdeeganMemberHi again,
I have switched MyEclipse to be using a java 5 JDK and the dt.jar in that java installation. Do you know how I can get Matisse to refactor the code to use only java 5 elements? I thought it would do it automatically if I closed and reopened the file but it hasn’t.
Thanks,
Jen
Riyad KallaMemberJen,
It won’t refactor it, but if you re-create the form in a Java 5 project, Matisse4MyEclipse wlil automatically switch to using the older org.jdesktop.layout.GroupLayout implementation.
jdeeganMemberHi Riyad,
Thanks for that. What exactly do you mean by ‘Recreate the form’? Do you mean I have to just redo the part where I drag the buttons and comboboxes onto the panel? Do I get to keep the .java file or do I need to do all of the variables again? There are quite a lot of them. It sounds from what you say is if I have to delete both files and start from scratch.
Thanks,
Jen
Riyad KallaMemberJen,
Yes the layout class is selected by M4M at the time you first create the form (File > New > Matisse Form). You’d need to re-create the form from scratch to have it use the older layout manager.
myeclipseuserngMemberThis message has not been recovered.
-
AuthorPosts