Here in this code we have created a tree with editable branches, on clicking them and then pressing F2 will give you a wide editable textfield.
import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JFrame;... (login or register to view full code)
To view full code, you must Login or Register, its FREE.
Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.
Related Online Codes:
No comment yet. Be the first to post a comment.