hi
my problem is that i want to show some information about button when clicked on that button but that information must be displayed below that button so and in the same menu
so for that what used i am think about popmenu is this right

Im not sure if i understood you correctly but you can make a JLabel under the button and when the button is clicked, the JLabel will be set to visible with the informations of a button on it.

similarr to google search editor when we right something in it .it produce tha drop downliast and give sugeestion

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.