I want to set font to selected text of JTextARea how to do this.

Reply me

Thank you

step 1: don't be lazy
step 2: check this

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.