|
larsp777 wrote: Don't really know how to upgrade, could you tell me? Er, upgrade what?
larsp777 wrote: When I start the window it is blank or only a few items. Sounds like your startup code is not forcing all items to be painted; suggest you open a new question with all the details.
|
|
|
|
|
I meant how can I upgrade your answer to give you credit
Sure I can start a new question if you want.
All I do though is call the class I shown in main like this:
new MainFrame();
And then I inherit from the main window like:
public class MainFrame extends JFrame implements ActionListener {
So most code is in the constructor.
So should I post a new question?
|
|
|
|
|
larsp777 wrote: how can I upgrade your answer Sorry, I misunderstood, as the word "upgrade" has a slightly different meaning. If you open any message and move your mouse just to the left of the text near the top, you should see two coloured arrows. A green one pointing up, and a red one pointing down. Click the green one to upvote the message, or the red one to downvote (means you think it is not a good message).
As to your other problem, I think we need to see the code, so I suggest you open a new question.
|
|
|
|
|
I meant upvote, sorry.
For my other question I think I shown all code, but can post if again of course.
Anyway I think I found a solution.
Added this:
repaint();
revalidate();
Seem to work.
Not sure if the order matters.
|
|
|
|
|
Whoa! before i thought i know Java but when i saw your code about serialization i realized i need to study more. I have never come across it. may be because I am just at intermediate level. your organization of class is what so much impress me about your codes. thank you so much. I wish I can get the complete source code for this.
|
|
|
|
|
There is no "complete source code", you have to write your own implementations. However, there are plenty of samples and tutorials that Google will find for you.
[edit]
See java serialization - Google Search[^]
[/edit]
|
|
|
|
|
Hi guys,
The app needs to have drag and drop function to build tool with workflow like visio for business users. Easy access for members via web or mobile devices. Internet may not available but mobile can sync data when internet is available.
I'm setting up new application with the following architecture, so need your advice.
html5+JS on frontend on web, and swift on mobile.
Java - MVC webservices provide for both web and mobile front end.
bigdata on the back end.
you know any code generation should be used for Java?
Thanks,
AppNewbie
|
|
|
|
|
|
hello guys, i'm new in java language but what am thinking is about is it possible to get the ip address of the email sender machine?
if it is, how do the one can perform it in java?
|
|
|
|
|
|
Looking at the headers is the only way to do this.
However, bear in mind that the headers can easily be spoofed. Each server in the chain adds it's own Received header to indicate which computer it received the message from, but it has no way to verify the previous Received headers. As you trace the path back from your server to the sender, once you get beyond the servers that you trust, the headers could be entirely fictitious.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hello everyone:
May I ask Java Web questions in there??
Thank you very much.
|
|
|
|
|
|
OK
Thank you very much!!!
|
|
|
|
|
I have the same question and thank you for the answer.
|
|
|
|
|
I have a jsp page with one browse button and one submit button.After selecting any excel file(.xlsx) when I click submit button, I want to store all the value of excel page to postgresql database
|
|
|
|
|
And what is your question?
|
|
|
|
|
|
i have created jar file ,and .exe file file but when i run on another desktop .....shows error sql server exception
|
|
|
|
|
Sorry but that does not really tell us anything. What is the exception and where doews it occur?
|
|
|
|
|
what is the step of create setup file which can run client machine ...and i have created jar file through clean and build tool..but he is don,t run on client machine
|
|
|
|
|
i hava created an application program with sql server database as backend
and i have created an executable jar file with netbeans "clean and build tool"
now a have moved this jar with dist folder to another system but it can not access the database
Plz tell me where we will put database to run application properly
|
|
|
|
|
Since you have still not provided any useful information I cannot possibly make any suggestions.
|
|
|
|
|
Hi;
I would release an application in java that allows an offline recognition of old arabic handwritten using neural networks(PMC, back propagation, activation function sigmoide).
so I have extracted with hand the characters from an old scanned handwritten picture and applicate for each of them the pretraitement step, in result it generates a matrix of 8*8 that gives the percentage of black pixels in the character.
Next I have to release the learning step using neural networks, so I have normalized each the values of each matrix between 0 and 1(to use the sigmoide function) and transforme this matrix for a line vector so that it correnpends like input for the neural network(so now I have a line vector of 64 elements like input data for the neural network).
like output I have the same vector correspending for the good written character of each character.
I save the results(the error of each epoch, and the error activation of the neural output for each input) in a wampserver database for esch character.
Now I would go to the step of recognition, but I have no idea of how starting implementing it using the results of the learning step.
please can you help me?
|
|
|
|
|
This is not a matter of a few simple lines of code; image and character recognition is more complex. You should do some research (via Google) into both subjects to see some of the algorithms and processes that are commonly used.
|
|
|
|