hi everyone....
im doing IDE for java swing (like dragging comp into design area)...
is there a way to save the design as format and when i open it the design must be showed as it was saved....
Thanks in advance...

Recommended Answers

All 7 Replies

Not 100% sure what you are asking here, but couldn't you just read/write from/to a File when you load/save the design?

Are you using netbeans or another IDE? And if so, what? In netbeans you can accomplish this by right clicking the Form (on the listing, underneath where it says the project name->package name->form) then clicking save as template, I believe.

im creating an IDE for swing......
User can drag and drop the various components from toolbox to design area....
i need to save the design as one(may be .form or someother) file and the source as .java file.....
im using jbuilder for creating the IDE....
i think nw im clear.......

You'll need to come up with own format for that, since it's your editor.

whts the concept behind that....
can you please explain?????

Exactly. It doesn't really matter what format you write to when you save so long as you can read it back again when you load.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.