I want to increase column width automatically when record is added or record fetched from database in jtable in java.

And I want my car to warm up automatically 10 minutes before I want to use it in winter.

Rather than just posting your demand here, you could have Googled - well, let me think... what would be a good search... oh! I know, how about
Auto Increase size of column width in jtable
when I do that it immediately gives me lots of code to do exactly that.

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.