Okay i have reviewed a few softwares and extensions to java, mysql Workbench seems to be a nice program and has an easy interface to work with as suggested by dave and trailblazer but in case of larger amount of tables it displays them in a very complex layout which complicated to understand and view and another thing is it doesn't directly connect to your db but you need to generate a .sql file of your database which you import to reverse engineer and then you can create a diagramatic view of that database
I found another program which was suggested in this SO post
its called SchemaSpy which is open source which analyzes the metadata of a schema in a database and generates a visual representation of it.
It is operated using the command line and it creates tables using Graphviz however there is a gui called SchemaSpyGUI its very easy to install them as u have to install Graphviz and unzip the contents of the other programs in the bin folder of graphviz. you also need mysqlconnector/J and this is the installation process
for it
It diplays the tables, relationships(visual schema), utility tables, constraints, anomalies and columns it very comprehensive and display tables in a cleaner format than workbench though its just going to be a matter of preference of which software to use to visualize.