Hi, I was wondering if anyone could help me. I'm trying to find 2 unicodes so I can display the join ('bow-tie')and semi-join (like half a bow tie!) operators in java (used in relational algebra for databases). Anything I find on Google doesn't work (I just get a square!)

I've heard this has something to do with fonts or something, could anyone help me pls?

(I need to display them on buttons, text fields, text area etc.)

Recommended Answers

All 2 Replies

It should work just fine for those components provided those character sets are available on your machine. This shows a bow-tie for me with no other setup

JOptionPane.showMessageDialog(null,"\u22c8");

Yea I tried that but still don't have anything? Do you know if there's anything I can change or install to help me? (I clearly have no idea about this sort of thing!). If not I'll just draw the image itself, it will just be easier to have the code.

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.