- This topic has 8 replies, 5 voices, and was last updated 17 years, 3 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,
RonJanuary 19, 2007 at 10:01 am #264793
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).March 13, 2007 at 4:58 pm #267360
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? ThanksFebruary 29, 2008 at 1:43 pm #282313
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
February 29, 2008 at 2:05 pm #282314
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
February 29, 2008 at 2:13 pm #282317
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.February 29, 2008 at 2:18 pm #282318
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
March 3, 2008 at 9:16 am #282345
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.March 13, 2008 at 5:48 am #282870
myeclipseuserngMemberThis message has not been recovered.
-
AuthorPosts