siva chaitanya

Ranch Hand
+ Follow
since Jul 05, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by siva chaitanya

Please i request don't give me outdated answers i keep on searching in the Google but my doubt is not clear . Reusable means java bean that is developed in one project can be used in another project right how it is possible to use in another project and what is the difference between EJB and java bean
10 years ago
When i try to create a new JDialog Form in netbeans by default it is generating nimbus look and feel but i want to remove it which i cannot because can we delete default generated code ?
10 years ago
But GroupLayout is the default one in Netbeans Platform Application i cant change it right now but i changed it in components creation tab i.e navigation tab . I set the layout as Border Layout
11 years ago
Thank you so much Michael Dunn i got it, the problem is as you mentioned i have initialized JList both in constructor and in initComponents() method. Actually i am using netbeans platform application for swings so initComponents() method is default generated code in that JList is initialized so i removed the JList countriesList = new JList(); line in constructor it works.

But can you please solve another problem.

When i try to drag the window the JPanel is also moving but i want to fix the position of the JPanel is it possible ?
11 years ago
But i can't able to get the values from countriesList even if i try to print the value on console after clicking the button i am getting this value '[I@30186b31'
What is this value ?
When i try to print it in option pane it is saying index -1 means no item selected right
11 years ago
I am taking two JLists countriesList and displayCountriesList i populated data in the countriesList and when i click one button, the selected element in the countriesList is added into the displayCountriesList
This is the actionPerformed method when the button is clicked

11 years ago
How to get the selected elements from JList . I tried everything using getSelectedValue(), getSelectedIndices() but i can't able to make it.
11 years ago
How can i set fixed position for JPanel ?
When i drag the window to the right side the panel also changing its position to the right. So how can i set fixed position of JPanel even when i drag the window ?
11 years ago
Ya i have seen the frame and also the JList but i can't see the elements in the jlist
11 years ago
Can't able to add elements in JList. I have taken DefaultListModel and JList to add elements but i can't able to make it. This is the code.

11 years ago
which jar i need to add to my application to use JXLoginPane class ?

I am using Netbeans IDE and using netbeans platform application for swings
11 years ago
can you please explain me the definition
Hi harshvardhan thank you for your reply can you please give me some real time example of EJB and what is the use of exposing the business methods through EJB
As far as i know java bean has private member variable, getters and setter methods used to map the input parameters with the fields in the database and EJB is a server side component has some business service methods and these methods called from the client side. Correct me if i am wrong and please tell me the exact difference.
My project struture is like this



web.xml



index.jsp



struts.xml



TutorialAction .java

11 years ago