No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
After you create a Graph object, you may use the addVertex() method to create nodes in your graph. [CODE] Graph<Integer, String> g = new SparseMultigraph<Integer, String>(); g.addVertex((Integer)1); g.addVertex((Integer)2); g.addEdge("Edge-A", 1, 2); [/CODE] The following code creates 2 nodes and an edge between them. By default, all the labels appear.
Hi: I'm having trouble trying to place images in a Java GUI. Basically, I have an array that contains a 52 card deck in String form, and whenever I call one entry from the array, I want to display a gif image of that card. For example: [CODE]if(cardarray.compareTo("King of Hearts")==0){ …
The End.
rohanbk