Search:

Type: Posts; User: luisp88

Search: Search took 0.28 seconds.

  1. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    I made it work, thanks a lot. I will check HttpUrlConnection for more information.
  2. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    Ok I made a php script to edit the .conf file and it works fine giving apache the permissions. But the problem is sending the information from JAVA to PHP script.
    JAVA:
    URL url = new...
  3. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    Thanks for the link, I am already trying to figure it out.
    Its a good idea to use URL passing to edit a whole .conf file? I mean its a long string, there is no problem sending it to a php script via...
  4. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    ok I understand, maybe I can make a php or perl script to do this. How do I give the information to the script? Is there any class in java to communicate with a server side script? thanks for your...
  5. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    There is a server (Debian) that host the .jar files (in the public /www directory of Apache). I execute them thru java web start (it downloads the resources to the local machine) on Windows. I need...
  6. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    I have tried some codes, but none of them work :(

    Just as simple as trying to create and write a .txt in the server

    // Open an output stream
    URI uri = new...
  7. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    I only need to modify one .conf file from /etc/asterisk , I have no problem giving rights to edit it. In fact, I made Apache to show me the file to the public and I can retrieve it from the server...
  8. Replies
    14
    Views
    1,447

    Re: edit .conf file in /etc linux (java SE)

    I am trying to modify a .conf file in the /etc/asterisk (a voice ip PBX) that gives permissions to callers. I dont know much about debian or linux, it would be easy to modify a file in the www...
  9. Replies
    14
    Views
    1,447

    edit .conf file in /etc linux (java SE)

    Hi everyone!
    This time I have a java SE web start application hosted in a Linux/Debian server
    I need to edit a .conf file from the /etc directory folder in the Debian server but I have no idea how...
  10. Replies
    1
    Views
    452

    Re: problem with signing and webstart

    Problem solved! this post can be deleted

    the problem was that I was importing the third-app libraries (.jars) from a folder outside all the projects, and they were supposed to be imported from the...
  11. Replies
    1
    Views
    452

    problem with signing and webstart

    hi everyone
    I am having a new problem which used to work perfectly
    I have a java project that depends on another libraries (other netbeans projects)
    I just changed my computer and imported all the...
  12. Replies
    3
    Views
    522

    adding or removing panels to panels

    Hi everyone, I need help with JPanel

    I have a panel named "contentPanel" inside of a Main Frame and I am inserting to that panel another JPanel "MyPanel" from another class with add.()



    What...
  13. Replies
    1
    Views
    502

    jTables and models

    Hi everyone! I need some help

    I have a jTable that uses a model for handling data




    Then, in another class, depending of the class, I erase all the content of the model (and the columns)
  14. Replies
    4
    Views
    1,159

    [SOLVED] Re: sending a parameter to a new JDialog

    ok I found out my mistake, I was leaving uncommented the main part that calls the constructor inside the new JDialog class, but as I was opening the JDialog from another window, I didn't need the...
  15. Replies
    4
    Views
    1,159

    [SOLVED] Re: sending a parameter to a new JDialog

    I couldn't do it thru the constructor, so after I created the new JDialog instance and opened it, I sent the parameter thru a setMethod.
    It also works, so thanks anyway
  16. Replies
    4
    Views
    1,159

    [SOLVED] Re: sending a parameter to a new JDialog

    I want to send a parameter to the new JDialog opening window from the main JFrame window, ie a String.
  17. Replies
    4
    Views
    1,159

    [SOLVED] sending a parameter to a new JDialog

    Hello everyone, from my main window, I am opening a new JDialog window and I want to send a parameter from the main

    Opening the new window

    ExtensionUI extensionUI = new ExtensionUI(this, true);...
  18. Replies
    2
    Views
    920

    [SOLVED] Re: remove a colum from a DefaultTableModel

    ok problem solved, use setColumnIdentifiers better than addColumn, it just replace columns, thanks copeg!
  19. Thread: window icon

    by luisp88
    Replies
    6
    Views
    555

    Re: window icon

    ok problem solved, the absolutepath was C: so I need to move my icon to C:\resources\icon.gif or put the full path
    thanks!
  20. Replies
    2
    Views
    920

    [SOLVED] remove a colum from a DefaultTableModel

    hi everyone, I have a DefaultTableModel that I built with tableModel.addColumn("dasdasfasfs"), thereafter I fill it with addRow.
    I want to reuse the tableModel, but before I want to clear it (rows...
  21. Thread: window icon

    by luisp88
    Replies
    6
    Views
    555

    Re: window icon

    how do I put the full path? like "C:\Users\user\Documents\NetBeansProjects\project\src\resources\img.png" ? I tried creating an Image object and thus, set the image to the frame but didnt work...
  22. Thread: window icon

    by luisp88
    Replies
    6
    Views
    555

    Re: window icon

    the java tutorials website is down :(
    I changed imgUrl with "/resources/icon.png" but when I run it, it doesnt shows up, thought maybe png format wasnt supported but neither is gif, so I think there...
  23. Thread: window icon

    by luisp88
    Replies
    6
    Views
    555

    window icon

    Hi everyone, I need to set an image to the window of my application
    I've heard it is this way

    frame.setIconImage(new ImageIcon(imgURL).getImage());

    but not working, I know setIconImage needs...
  24. Replies
    2
    Views
    442

    Re: Inserting pre programmed UI elements

    how can I do this? for example, I have two clases
    one called Main (a JFrame) where I want to put a menu bar, and another class called Elements (a JFrame) where my menubar with the menu items is...
  25. Replies
    2
    Views
    442

    Inserting pre programmed UI elements

    Hi everyone, its my first time in this forum!
    i am kind of new to java programming and iam about to start a project, a java web start application
    for now, i need to know how can I develop a bar...
Results 1 to 25 of 25