Millions saw the apple fall, but Newton asked why.
~Bill
Wendy Gibbons wrote:I am just going on the previous thread it sounded very similar to me and connection pools was the answer there
~Bill
connection pools was the answer there...
I had stopped posting on that topic because I never came to an understanding of what was required.
Array of jpanels can be flawlessly drag-able where ever want within its container(it might be jscollpane/jtabbedpane/jpanel), whenever program restart, all jpanels should locate on its previously dragged location.
Millions saw the apple fall, but Newton asked why.
~Bill
Mandar Khire wrote:There is no specific big requirement , just one liner requirement i have as follows
Array of jpanels can be flawlessly drag-able where ever want within its container(it might be jscollpane/jtabbedpane/jpanel), whenever program restart, all jpanels should locate on its previously dragged location.
& i am only know basic of java,swing,jdbc,mysql...
Don't move on while you've unresolved problems in your current code.
Specifically, do not turn to Hibernate if you have problems implementing your functionality with JDBC. I believe you should know SQL and JDBC before you move to ORM frameworks.
Comparative research/study, simply put, is the act of comparing two or more things with a view to discovering something about one or all of the things being compared.
Do not mix things that are not related.
....separate the logic...
...many useful design patterns...
Either provide the user with a Save button, or save the data into the database at the end of the program (yes, if it crashes, the data will be lost).
...background thread.
version control system...& ...unit testing...
Don't be afraid to rewrite the code often.
Now I don't know where I specifically I got the notion that you were speaking of a desktop application, but I did.
Millions saw the apple fall, but Newton asked why.
~Bill
Bill Johnston wrote:I'd be curious as to what the DB table/s that hold this kind of information might look like, as admittedly I've never thought of storing this kind of information in a DB table unless it was a serialized state of an Object, but not just a bunch of coordinates. Note this is not an argument, but a question.
for us currently it is only a simple vbox panel....
user id,panel id, subpanel id, collapsed, sequence
Millions saw the apple fall, but Newton asked why.
Mandar Khire wrote:
Wendy Gibbons wrote: for us currently it is only a simple vbox panel....
Here i have small question in java is there any vbox(this is new for me...)?
I think i am talking about jpanel throughout questions...
Mandar Khire wrote:
Wendy Gibbons wrote: user id,panel id, subpanel id, collapsed, sequence
I am always try to save only
panel id,old location x & y co-ordinate like oldx,oldy, same for new location as new x, newy.
you only really want to be storing the end of sesion status in the db, intermediate states should be stored in memory for <ctrl-z> purposes.
Millions saw the apple fall, but Newton asked why.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |