Hello I am making an expert system using Jess about animals.
I wanted to make an interface using Swing and so I did.
I have a problem using group layouts. The application works fine but at the end a exceptions is thrown:
The application ask the user some questions about the animal. When the expert system has enough information to know the animal it tells the name of the animal and shows a picture of it.
The exception is thrown when the application has guessed the animal and shows the response.
Here is the code:
I think the problem is related to the group layouts.
I will attach the eclipse project too but I think you will not need it.
I hope you can help me. Thanks in advance.
I wanted to make an interface using Swing and so I did.
I have a problem using group layouts. The application works fine but at the end a exceptions is thrown:
The application ask the user some questions about the animal. When the expert system has enough information to know the animal it tells the name of the animal and shows a picture of it.
The exception is thrown when the application has guessed the animal and shows the response.
Here is the code:
I think the problem is related to the group layouts.
I will attach the eclipse project too but I think you will not need it.
I hope you can help me. Thanks in advance.