Can I delete pre-generated code?

View: New views
4 Messages — Rating Filter:   Alert me  

Can I delete pre-generated code?

by Falkenbach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

When I make Swing Desktop Application using NetBeans IDE (so I select File | New Project | Java Desktop Application) I have already pre-generated piece of code, whic defines in constructor things like :

ResourceMap

messageTimer

busyIconTimer

idleIcon

statusAnimationLabel

etc.



What do I need those for? (if I need them) .

Is it safe just delete whole constructor of FrameView and leave there only code like :




Code:


    public MyAppView(SingleFrameApplication app) {

        super(app);

    }



[/code]





Can I delete pre-generated code?

by postmortem-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

if you don't want it,  then use java application and add your own frame.



if code was not needed for some UI functionality , it wouldn't been there.





Can I delete pre-generated code?

by Falkenbach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


postmortem wrote:
>

> if code was not needed for some UI functionality , it wouldn't been there.




Yes thats what I think, so what functionallity it may be?





Re: Can I delete pre-generated code?

by Alexander Schell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello

if you can post the snippet of generated code someone might take a
look at it and be able to tell you what for it got generated...   :)

best regards

alexander schell

Falkenbach schrieb:

> postmortem wrote:
>
>> if code was not needed for some UI functionality , it wouldn't been there.
>
>
>
>
> Yes thats what I think, so what functionallity it may be?
>
>
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkrtZjsACgkQfkcoZSkNJQaorgCeMLlOuRWm0QL9Up/LQLzYGwgT
d+0AniFYuMvwpQlQc5Twjb3iH2AWaQ6O
=rh0R
-----END PGP SIGNATURE-----