Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[30 pts] Java Learning for educative applet design

Status
Not open for further replies.

AdvaRes

Advanced Member level 4
Joined
Feb 14, 2008
Messages
1,163
Helped
113
Reputation
220
Reaction score
51
Trophy points
1,328
Location
At home
Activity points
7,442
Hi members,

I'm looking for tutorials and exemples for Java applet design. I really dont know from where to start. I even dont know the required tools to use for that purpuse.

The educative applets are designed to simplify the understanding of the functionning of some basic gates like MUX, DMUX, AND2 etc.

Could someone tell me from where I can download an evaluation/free version of the required tools ?

Thanks in advance.
 

If you prefer to use your own editor to write code and compile using the command line then you can download JDK from https://java.sun.com/javase/downloads/index.jsp. That's all what is needed.

Another alternative could be to download eclipse SDK from https://www.eclipse.org/downloads/. I think the name of SDK you should download is
Eclipse IDE for Java Developers (92 MB). It will give you a nice IDE to develop java apps.

There are a lot resources on web to get started with java. Example https://www.sun.com/training/?intcmp=1394

I think you'll need to familiarize yourself with swing API of java. You can use it to draw gate shapes etc.
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
Thank you microKernel.
Is that enough or there are other tools for simulation ? I mean, if you consider the exemple of a mux where the inputs receives two clocks signal (different frequencies) , is Eclipse enough to design an applet that plots the resulting output of our mux when we change the Selection pin state?
 

Tools are enough to do your job.

It will be you who will design how a response to an input will be displayed.

e.g. in your MUX example

You'll have to create the input GUI/other mechanism for clocks input.
You'll have to create the MUX symbol
You'll have to create some action button that will start simulation
You'll have to create a window/other component that will give you the output.
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
It's been a while since I did something in Java and so I thought to give your example a try. Attached is an zip file that you can use as the starting point for your applets.

It is a simple applet for drawing the selected mux input as an output waveform.
Unzip it to some directory and import in eclipse. then run/debug as Java Applet. All source code is included.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top