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

Search:

Type: Posts; User: hitai

Page 1 of 8 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    2
    Views
    1,951

    Re: Using a signed JAR in a web application

    I have no problem with the JWS application whether it uses a signed JAR or not but a problem will happen when a web application that runs in a servlet container uses a signed JAR
  2. Replies
    2
    Views
    1,951

    Using a signed JAR in a web application

    This is what I have so far.

    I have a web application with servlets and JSP etc packaged in to a WAR file, let`s call it webApp.war.

    Next is have a Java Web Start App, let`s just call it...
  3. Replies
    2
    Views
    2,048

    Re: Cells in JTable that span several lines

    Ok, thanks for the tip. There wasn`t any explicit examples about making a scrollable cell but I think I get the idea of what I should do. Guess it`s about toying around with the UI
  4. Replies
    2
    Views
    2,048

    Cells in JTable that span several lines

    I have a JTable. In this JTable, there are cell where the text span several lines. I tried implementing a cell renderer which uses a JTextArea inside a JScrollPane. Of course this did not work.
    ...
  5. Replies
    0
    Views
    3,106

    DatagramSocket.receive hangs indefinately

    I have a thread that is specifically for receiving DatagramPacket. As usual, I make a call to DatagramSocket.receive . DatagramSocket.receive is placed inside an infinate loop. Once a packet is...
  6. Replies
    2
    Views
    1,171

    Re: Showing an icon in JCheckBox

    Ok...thanks for the insight. I did think of this method, but was hoping for a more elegant way.
  7. Replies
    2
    Views
    1,171

    Showing an icon in JCheckBox

    I understand that one can set state icons for JCheckBoxes. However I just want to set an accompanying icon for the label of the JCheckBox. The icon is not for showing state but just decorative. I...
  8. Replies
    2
    Views
    1,725

    Creating PDF documents from scratch

    I`m trying to create PDF documents from my Java application. Of course, I do not know how. I did look around the web, but most information that I find is about using a third party component to...
  9. Replies
    6
    Views
    11,172

    Re: URL decoding in servlet

    It seems that the servlet has already URL decoded the parameter when i call

    request.getParameter ( "p1" ) ;
    However, the servlet did not use UTF-8 to decode the parameter because I got back 3...
  10. Replies
    6
    Views
    11,172

    URL decoding in servlet

    This is the URL that I use to invoke my servlet from my applet


    http://192.168.0.67/MyServlet?p1=団

    As you can see, the parameter has a unicode character 団. So I use


    URLEncoder.encode (...
  11. Replies
    3
    Views
    1,471

    Re: ProgressMonitor not repainted

    Yes, in fact nothing at all is painted in the ProgressMonitor dialog. The only thing of the dialog that appears is the title bar and borders of the dialog. The dialog can stil be dragged and moved...
  12. Replies
    3
    Views
    1,471

    ProgressMonitor not repainted

    In my program i execute several sql SELECT statements at once to retrive large amounts of data. This of course is a very time consuming process, so i use a ProgressMonitor to track it`s progress. The...
  13. Thread: Custom TreeModel

    by hitai
    Replies
    0
    Views
    1,103

    Custom TreeModel

    I`ve created a custum tree model by implementing the TreeModel interface. I use an ArrayList to store the nodes of the tree. So far the tree loads properly. However when i add nodes to the TreeModel...
  14. Replies
    3
    Views
    1,094

    Re: Web Application Startup Event

    Hmmm....guess not. Tho it`s hard to believe
  15. Replies
    6
    Views
    27,726

    Re: Hide close window button

    So it seems that ther is no way to hide ONLY the close button. How sad...guess i`ll just hav to resort to other options
  16. Replies
    6
    Views
    27,726

    Hide close window button

    When a JFrame (in Windows XP) is created, it will hav a minimise button, a maximise button and a close button at the top right, right....

    I would like to know if there is a way to hide any of...
  17. Replies
    3
    Views
    1,094

    Web Application Startup Event

    In an ASP.NET application, their is an event which is called when the web app is started. The programmer can put initialisation code for the entire web app in this event

    Is there a similar thing...
  18. [RESOLVED] Saving a result set in a stored procedure

    I`m writing a stored procedure in MySql and was wondering if i can save/cache the result set i get from a SELECT statement (in a variable or something) for reuse again in another query in the same...
  19. Replies
    15
    Views
    13,133

    Re: Double click to select node in JTree

    Simply because the users want a node to be selected only when it is double clicked.
  20. Replies
    15
    Views
    13,133

    Re: Double click to select node in JTree

    Thanks for trying to help. I managed to handle the mouse events for the JTree but just can`t find a way to stop a node from getting selected when it is clicked once.
  21. Replies
    15
    Views
    13,133

    Re: Double click to select node in JTree

    So i assume that this is something that cannot be done huh?
  22. Replies
    15
    Views
    13,133

    [RESOLVED] Double click to select node in JTree

    By default, a node in the JTree gets selected when the user click once on the node causing the valueChanged event to fire. How can I have a node selected ONLY when it is double clicked?
  23. Re: String.split does not work on ASCII characters

    System.out.print ( s.split ( "\団" , 3 ) ) ;

    This worked!!! :confused:
  24. Replies
    1
    Views
    1,151

    [RESOLVED] Get newly inserted row

    I`m using JDBC to connect to MySql. From my java code, I inserd new rows into the data table using INSERT statements. How can I get back the new inserted row? I`m leaving the fields to have their...
  25. [RESOLVED] String.split does not work on ASCII characters

    String s = "1団2団3" ;

    System.out.print ( s.split ( "団" , 3 ) ) ;

    The output of the above code will be 1団2団3.
    Why is it that String.split does not work with non ASCII characters. When I replace...
Results 1 to 25 of 184
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured