Hello Dani

I wanna make a text based editor that's why i make a java program.
there is little bit a problem i already made menu bar bt i coudn't give the actions

like in file menu :- New, Open, Save, Exit
in edit menu :- Undo, Cut, Copy, Paste
in tool menu :- Compile java Code, run java Program.
in search menu : - find , find & Replace.

reply
i m attched my code , plzz give me remady

Thanx
Sanjay

hello,

i was send my source code for check and give me the solutions for that

i m waiting for that

Sanjay

I'm guessing english isn't your main language?

Does this give you an idea?

class MenuItemListener implements ActionListener
{
	public void actionPerformed(ActionEvent e)
	{
		 if (e.getSource == fileMenuNewItem)
			 // "new" menu item clicked
	}
}
Be a part of the DaniWeb community

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