CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Laivindur

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,361

    Re: Multiparent graph layout.

    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.
  2. Replies
    2
    Views
    1,361

    Multiparent graph layout.

    Hi,

    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...
  3. Replies
    7
    Views
    8,408

    Re: Multiple queries to a single connection

    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...
  4. Replies
    7
    Views
    8,408

    Re: Multiple queries to a single connection

    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...
  5. Thread: Applet Help

    by Laivindur
    Replies
    2
    Views
    773

    Re: Applet Help

    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, ...
  6. Replies
    7
    Views
    8,408

    Multiple queries to a single connection

    Hi guys!

    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...
  7. Thread: HTML parsing

    by Laivindur
    Replies
    3
    Views
    1,031

    Re: HTML parsing

    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.



    public TlfParserV2(URL...
  8. Thread: HTML parsing

    by Laivindur
    Replies
    3
    Views
    1,031

    HTML parsing

    Hi.

    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...
  9. Replies
    27
    Views
    3,514

    Re: Help with midi sequencer

    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

    frame.dispose();

    with
    ...
  10. Replies
    6
    Views
    1,133

    Re: Errors in Applets

    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...
  11. Replies
    6
    Views
    1,133

    Re: Errors in Applets

    Hi



    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,...
  12. Replies
    1
    Views
    3,372

    Re: [help]read drive info using Java

    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...
  13. Replies
    19
    Views
    2,450

    Re: another assignment going crazy...

    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 :)
  14. Replies
    12
    Views
    11,072

    Re: Hexagonal Buttons

    Yeah, that looks a lot better.

    Ill change it right away!
  15. Replies
    12
    Views
    11,072

    Re: Hexagonal Buttons

    I finally finished my layout and button inbetween exams and work, so if you're still interested here is the first version:


    Hexagonal Button




    import java.awt.Color;
    import...
  16. Replies
    12
    Views
    11,072

    Re: Hexagonal Buttons

    Wow, thanks!

    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...
  17. Replies
    12
    Views
    11,072

    Re: Hexagonal Buttons

    Ok, Thanks!

    Ill give the custom LayoutManager a try after checking that there is none that meet my requirements.
  18. Replies
    2
    Views
    1,166

    Re: HTML and POST

    Hi!

    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...
  19. Replies
    12
    Views
    11,072

    Hexagonal Buttons

    Hi

    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...
  20. Replies
    3
    Views
    1,514

    Re: Autocompleting TextField

    Thanks for all the input!

    Ill give you some feedback when Ive reviewed my code and tested out your solutions.
  21. Replies
    3
    Views
    1,514

    Autocompleting TextField

    Hi!


    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...
  22. Replies
    10
    Views
    1,747

    Re: Log File Read

    Ok, I've compiled your code.




    try {
    FileWriter fstream = new FileWriter("st3.log", true);

    BufferedWriter out = new BufferedWriter(fstream);
  23. Replies
    10
    Views
    1,747

    Re: Log File Read

    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...
  24. Replies
    10
    Views
    1,747

    Re: Log File Read

    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

    ...
  25. Replies
    15
    Views
    8,206

    Re: making moving eyes in java

    I think it would be much easier for anyone to help you if you post your actual code.
Results 1 to 25 of 41
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured