TSS DRX
TSS DRX

Reputation: 25

Google's interactive text fields in java swing

I am struggling with something regarding java swing....I need to know how the linear text fields in most google apps are made....the ones where there is only one line in the bottom and how can I make them interactive. I don't need the app designer in net beans(that's our instructor)..Anyone can help please?

PS: I tried so hard to look up for such a thing but all I find is a drag and drop design. I searched everywhere but I found nothing.

Upvotes: 0

Views: 116

Answers (1)

Calaf
Calaf

Reputation: 1173

The design of the graphic component in Google app is depending to the mobile operative system. In iOS and Android you will have different design for the same component, as you can see:

enter image description here

If you want to change the design of a graphic component (in an App or, in this case, in Java Swing) you have to write a Custom text field.

You can read Customizing JTextField for a simple example.

Upvotes: 2

Related Questions