You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Emilian Bold <em...@gmail.com> on 2019/01/23 17:30:52 UTC

Re: Enlarge existing project

So by Java beans you mean beans in Swing forms? Interesting project.

Normally if you use layouts properly there's no widths / heights to fix as
the layout will adapt to whatever new size the container has.

So you start from constants down: hardcoded font sizes, hardcoded
positions, dimensions.

If these are all NetBeans .forms then you can probably automate this with a
custom script... although I never did try to process .form files externally.

I don't know of any plugin that would do this automatically.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!


On Wed, Jan 23, 2019 at 3:55 PM CHRISTOPHE LAFOLET <
christophe.lafolet@naval-group.com> wrote:

> Hello,
>
> I would like to refactore an existing netbeans project.
> I need to apply a scale factor to nearly 500 Java beans : this
> transformation should modify width, height, position, layout, bordure size,
> gap, ...
> Do anyone have done this transformation ? by script or with a plugin ? and
> which plugin ?
>
> Thanks for your help.
>
> Pensez à l'environnement : avez-vous besoin d'imprimer ce message ?
>
> Think about the environment : Do you need to print message ?
>
> .
>
> Ce courrier électronique, incluant les éventuelles pièces jointes, peut contenir des informations confidentielles et/ou personnelles et a été envoyé uniquement à l'usage de la personne ou de l'entité citée ci-dessus. Si vous receviez ce courrier électronique par erreur, merci de bien vouloir en avertir l'expéditeur immédiatement, effacer l'original et détruire toute copie enregistrée dans un ordinateur, imprimée ou sauvegardée sur un disque. Toute revue, retransmission ou toute autre forme d'utilisation de ce courrier électronique par toute autre personne que le destinataire prévu est strictement interdite.
>
> L'internet ne permettant pas d'assurer l'intégrité de ce message, l'expéditeur décline toute responsabilité au cas où il aurait été intercepté ou modifié par quiconque.
>
> This e-mail and its possible attachments may contain confidential and/or privileged information and is intended only for the use of the person or entity named above. If you have received it in error, please advise the sender immediately, delete it and destroy all copies stored in the recipient's computer, printed or saved to disk. Any review, retransmission, or further use of this e-mail by persons or entities other than the intended recipient is strictly prohibited.
>
> The nature of the internet being such that the integrity of this message cannot be ensured, the sender disclaims any liability whatsoever, in the event of this message having been intercepted and/or altered.
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org For additional
> commands, e-mail: users-help@netbeans.apache.org For further information
> about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re: Enlarge existing project

Posted by Emilian Bold <em...@gmail.com>.
Seems like one could write a plugin to invoke that action for all the forms.

--emi

On Thu, 24 Jan 2019 at 11:53, CHRISTOPHE LAFOLET <
christophe.lafolet@naval-group.com> wrote:

> Yes Swing froms
> actually the project use "AbsoluteLayout"
> With Java code, I can already modify XML forms but I need that Netbeans
> reload all forms (500) to update the java classes.
> Manually that works when I do a "reload Form" action for *one* form : I
> want to do this automatically for* all* forms ...
>
>
>
>
>
>
> De :        Emilian Bold <em...@gmail.com>
> A :        CHRISTOPHE LAFOLET <ch...@naval-group.com>
> Cc :        NetBeans Mailing <us...@netbeans.apache.org>
> Date :        23/01/2019 18:31
> Objet :        Re: Enlarge existing project
> ------------------------------
>
>
>
> So by Java beans you mean beans in Swing forms? Interesting project.
>
> Normally if you use layouts properly there's no widths / heights to fix as
> the layout will adapt to whatever new size the container has.
>
> So you start from constants down: hardcoded font sizes, hardcoded
> positions, dimensions.
>
> If these are all NetBeans .forms then you can probably automate this with
> a custom script... although I never did try to process .form files
> externally.
>
> I don't know of any plugin that would do this automatically.
>
> --emi
>
> *http://coolbeans.xyz/* <http://coolbeans.xyz/> - CoolBeans: An IDE for
> Java, JavaEE, PHP and more!
>
>
> On Wed, Jan 23, 2019 at 3:55 PM CHRISTOPHE LAFOLET <
> *christophe.lafolet@naval-group.com* <ch...@naval-group.com>>
> wrote:
> Hello,
>
> I would like to refactore an existing netbeans project.
> I need to apply a scale factor to nearly 500 Java beans : this
> transformation should modify width, height, position, layout, bordure size,
> gap, ...
> Do anyone have done this transformation ? by script or with a plugin ? and
> which plugin ?
>
> Thanks for your help.
>
>
> Pensez à l'environnement : avez-vous besoin d'imprimer ce message ?
> Think about the environment : Do you need to print message ?
> .
> Ce courrier électronique, incluant les éventuelles pièces jointes, peut
> contenir des informations confidentielles et/ou personnelles et a été
> envoyé uniquement à l'usage de la personne ou de l'entité citée ci-dessus.
> Si vous receviez ce courrier électronique par erreur, merci de bien vouloir
> en avertir l'expéditeur immédiatement, effacer l'original et détruire toute
> copie enregistrée dans un ordinateur, imprimée ou sauvegardée sur un
> disque. Toute revue, retransmission ou toute autre forme d'utilisation de
> ce courrier électronique par toute autre personne que le destinataire prévu
> est strictement interdite.
> L'internet ne permettant pas d'assurer l'intégrité de ce message,
> l'expéditeur décline toute responsabilité au cas où il aurait été
> intercepté ou modifié par quiconque.
> This e-mail and its possible attachments may contain confidential and/or
> privileged information and is intended only for the use of the person or
> entity named above. If you have received it in error, please advise the
> sender immediately, delete it and destroy all copies stored in the
> recipient's computer, printed or saved to disk. Any review, retransmission,
> or further use of this e-mail by persons or entities other than the
> intended recipient is strictly prohibited.
> The nature of the internet being such that the integrity of this message
> cannot be ensured, the sender disclaims any liability whatsoever, in the
> event of this message having been intercepted and/or altered.
>
>
>
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: *users-unsubscribe@netbeans.apache.org*
> <us...@netbeans.apache.org> For additional commands, e-mail:
> *users-help@netbeans.apache.org* <us...@netbeans.apache.org> For
> further information about the NetBeans mailing lists, visit:
> *https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists*
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>
> Pensez à l'environnement : avez-vous besoin d'imprimer ce message ?
>
> Think about the environment : Do you need to print message ?
>
> .
>
> Ce courrier électronique, incluant les éventuelles pièces jointes, peut contenir des informations confidentielles et/ou personnelles et a été envoyé uniquement à l'usage de la personne ou de l'entité citée ci-dessus. Si vous receviez ce courrier électronique par erreur, merci de bien vouloir en avertir l'expéditeur immédiatement, effacer l'original et détruire toute copie enregistrée dans un ordinateur, imprimée ou sauvegardée sur un disque. Toute revue, retransmission ou toute autre forme d'utilisation de ce courrier électronique par toute autre personne que le destinataire prévu est strictement interdite.
>
> L'internet ne permettant pas d'assurer l'intégrité de ce message, l'expéditeur décline toute responsabilité au cas où il aurait été intercepté ou modifié par quiconque.
>
> This e-mail and its possible attachments may contain confidential and/or privileged information and is intended only for the use of the person or entity named above. If you have received it in error, please advise the sender immediately, delete it and destroy all copies stored in the recipient's computer, printed or saved to disk. Any review, retransmission, or further use of this e-mail by persons or entities other than the intended recipient is strictly prohibited.
>
> The nature of the internet being such that the integrity of this message cannot be ensured, the sender disclaims any liability whatsoever, in the event of this message having been intercepted and/or altered.
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org For additional
> commands, e-mail: users-help@netbeans.apache.org For further information
> about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
> --
--emi