I have to make some sort of app where you need to put grades and stats for students so I have a problem here I need to have at least 5 classes and I don't know how to organize it.
Interface will be in swing and we need to use all basic OOP techniques. I need help with what classes would you make if you were to make this project. ( first time making a project..)
Just noting that you probably should put more effort into the back end and spend as little time on this swing part as possible. Any use of swing is going to be very limited in the business space.
Member 14133670 wrote:
I need help with what classes
I think you should do this yourself. It is like using a hammer for the first time - watching a video of someone using a hammer is not going to help you when you swing the first time. Even though you are going to hit your thumb you just need to do it.
The program is to create an excel sheet after some computations and tabulations through a designed interface.The codes is about 6000. when I continue to add more codes for further task, it displayed an error message that, code too large, after running it. Is their any way to make it run after more codes. Alternatively can you show me how to access text field from a different class to minimize the codes. thank you
Java does not allow a 'method' to be more than 64k byte codes (internal java compiled representation.)
So you have a method that is too large and you MUST break it into smaller methods. That would be the only possible solution.
In some cases if you are attempting to initialize static data, for example an array, list, etc, as a local variable you will get this error also because initialization is handled by the java compilers by creating a hidden method. Solution for that is to change how the initialization is done such as loading the data from a file.
Without entering in deep functionality of Servlets, what is it's use? To run some code, and at the end to redirect the user to another web page?
I'm asking because maybe there are some situations where you don't need to redirect the user to another page after the Java code from servlet is done. In this case, is there a way to stop the servlet from redirecting the user to another page? Even if you don't add a redirect or forward to the servlet, it will still redirect the user to it's map url.
I need a human understandable definition of how java script interprets. It seems to be a dance between html pages and forms, and .js Files. I have 40 years experience in coding in 'C' and 'CPP'. The syntax of java is indeed similar. This language provides apparently no type info of any kind. params, indeed the whole of js seems to be devoid of types.
As Richard has pointed out - you'll get better answers in the right forum.
There are further links in that article to other interesting "stuff" to help you in your research.
Note that I'm not actually advocating the how stuff works site per se, but you can pick up useful terminology that makes google searches more focussed.