Type: Posts; User: Laivindur
Search took 0.01 seconds.
September 19th, 2011, 05:58 PM
Thanks for the reply.
Using JUNG to model my graphs now, its a great library to work with. Sadly it has not got the layout im looking for. Guess ill try my luck with JGraph.
September 19th, 2011, 05:46 AM
Im working with some pretty complex treelike structures that needs a layout that makes them more readable. Each node in the tree can have both multiple parents and children.
Ive had a look...
January 12th, 2011, 12:39 PM
You where right, I checked up with the people responsible for the server side. There was a problem on their side causing the readLine to block.
But still with that problem fixed I cant seem to...
January 11th, 2011, 03:52 AM
Sorry, forgot to specify the type.
connection is of the type java.net.Socket.
I have tried closing and reconnecting, and that works just fine. Its just that I would rather not do it this way...
January 10th, 2011, 12:25 PM
I find it easier using a jar when deploying applets into html.
You can use this code:
<applet code = 'examplepackage.exampleclass',
archive = "example.jar",
width = 400, ...
January 10th, 2011, 12:17 PM
Need some help navigating the confusing sea of network I/O. Ive made a single connection object to a server and need to do multiple queries on that connection using its input- and...
November 13th, 2009, 04:23 AM
The HTML code I try to parse vali dates as XHTML 1.0 transitional without warnings.
Here is my code for browsing the html tree and grabbing the information I need.
November 12th, 2009, 04:06 AM
I need to convert a html document into some kind of DOM so that I can browse the document-tree, grab information etc.
Do any of you know any good ways of doing this? Ive tried the built-in...
June 28th, 2009, 05:12 PM
It might be that the variable frame is'nt visible inside the inner class. Try specifying that you are talking about a variable from the outer class by exchanging
June 15th, 2009, 03:41 AM
Based on your code I would recommend that you only use one applet instead of opening a new one. You can just change the content in the first one. That will simplify your program.
Also, the method...
June 15th, 2009, 02:52 AM
This does not say anything, exept that a button is not behaving the way you want to. How do you expect anyone to know what is wrong in your app based on that?
Please take some time,...
June 13th, 2009, 11:12 AM
As I understand it, You have to download a external library to get this sort of information, for example JSmooth. I think this solution will only work on windows though.
This is a link to...
June 13th, 2009, 09:57 AM
Can't you just compare every item in your list to the values you are looking for? And for the class where you cant use an array, just specify the items as normal integers. There are only 5 :)
June 12th, 2009, 06:43 PM
Yeah, that looks a lot better.
Ill change it right away!
June 12th, 2009, 07:32 AM
I finally finished my layout and button inbetween exams and work, so if you're still interested here is the first version:
This will be very helpfull when Im making my program! Way more help than I anticipated :P
Ive just compiled your code, looks good. I'll read through it and make my own version...
Ill give the custom LayoutManager a try after checking that there is none that meet my requirements.
What happens when you run your code? Do you get an exception or is it just that nothing happens? If you do get an exception, could you post it and the stack?
Im not an expert, but ive just...
Im just starting a new project where i need a GUI component composed of interleaved hexagonal buttons (like in a beeswax pattern). Im unsure about how to implement them, and wondered if I could...
Thanks for all the input!
Ill give you some feedback when Ive reviewed my code and tested out your solutions.
Im just wondering if anyone has implemented a autocomleting textfield? Preferably with a drop down list that shows the alternatives.
Ive had a go at it, and got a pretty nice result (if...
Ok, I've compiled your code.
FileWriter fstream = new FileWriter("st3.log", true);
BufferedWriter out = new BufferedWriter(fstream);
Im sorry, but i really cant see what your problem is if my previous solution did not help. You need clarify what it is that your program should do, and what it is not doing.
Ive given you a...
I dont quite understand your problem here. Could you be more specific? If the problem is that your code prints out the whole line, you could use the split method i told you about and replace your
I think it would be much easier for anyone to help you if you post your actual code.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.