User Profile

Collapse

Profile Sidebar

Collapse
desturrr
desturrr
Last Activity: Oct 6 '13, 05:42 PM
Joined: Oct 30 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • desturrr
    started a topic Zend Framework library copying ?
    in PHP

    Zend Framework library copying ?

    I have just started to grasp idea behind Zend Framework, but whenever i create a project structure, i had to add the Zend library to the project which takes time and space which i don't want. In windows environment, is it possible to create link to the main zend framework so that i dont have to copy the framework to each of my projects.

    Thanks
    See more | Go to post

  • desturrr
    started a topic Microphone Access and recording sound to webserver

    Microphone Access and recording sound to webserver

    For the website , i need my members to record their voices instead of writing. I have searched about it and learnt that it can be done using applet or flash. If you have an experience or any knowledge about how to save the sound to webserver using some kind of flash module or any other way, please share :), where should i begin?
    See more | Go to post

  • desturrr
    replied to Jar Path Problem...
    in Java
    As i mentioned i used breakpoint to see what string is given by "filePathSounds =getClass().get Resource("/Sounds").toStri ng();"
    and it gives an "file:/" thing , it is unnecessary. if i don't delete it i got an error that says "java.io.FileNo tFoundException : file:\C:\Java_P rojects\Ney1\bu ild\classes\Sou nds\Birds\cikci k.mp3"

    i don't know actually when it is a jar file , what is given to that...
    See more | Go to post

    Leave a comment:


  • desturrr
    started a topic Jar Path Problem...
    in Java

    Jar Path Problem...

    I have written a java application , and i am using sounds , images which are placed in Sounds and images packages. I am having trouble about this paths.

    filePathSounds= getClass().getR esource("/Sounds").toStri ng();

    // i get the substring because there is file:/C:/JavaProjec....
    // i am removing "file:/ "which is 6 characters and getting the proper path
    String pathSounds=file PathSounds.subs tring(6);...
    See more | Go to post

  • desturrr
    replied to Playing sound thread sync with other codes ?
    in Java
    Ok. I asked the question , finally i found the solution. The methods that i claim does not work such as

    neyBox1.arrange NeyImage(mainNo taList.get(i-1));
    showNames(mainN otaList.get(i-1));
    txtAciklama.set Text(mainNotaLi st.get(i-1).getAciklama( ));

    are all calling the paint() method. But paint threads for the sake of efficiency are being executed at last and at the same time, the solution is to use
    paintImmediatel y()...
    See more | Go to post

    Leave a comment:


  • desturrr
    started a topic Playing sound thread sync with other codes ?
    in Java

    Playing sound thread sync with other codes ?

    Hello all,

    I have small sized mp3 files that i can play via Java using JLayerPlayer that takes the address of mp3 files , JLayerPlayer objects can be played creating threads and starting. The problem is when i have for example 9 sounds and i want it them to play in consecutively , so i put them in for loop like:

    for(int i=1;i<mainNotaL ist.size()+1;i+ +)
    {
    neyBox1.arrange NeyImage(mainNo taList.get(i-1));...
    See more | Go to post

  • desturrr
    started a topic Are Threads Finished?
    in Java

    Are Threads Finished?

    for(int i=1;i<mainNotaL ist.size()+1;i+ +)
    {
    Thread currentThread=n ew Thread(porteImg s[i].getNotam().get SoundLayer());
    porteImgs[i].activate();
    porteImgs[i].repaint();

    currentThread.s tart();
    try {
    currentThread.j oin();
    } catch (InterruptedExc eption ex) {
    Logger.getLogge r(Ney1View.clas s.getName()).lo g(Level.SEVERE,...
    See more | Go to post

  • desturrr
    started a topic Relative Path Problem (getClass().getResource())
    in Java

    Relative Path Problem (getClass().getResource())

    I am having diffuculties while trying to make the path of my files relative.
    I am using an interface to hold my static variables in order not to mix them with my other codes , just implementing the interface is sufficient to use the variables.

    I need to give the address of my file as a parameter, and i am making it by using absolute path of file just like below .
    >>static JLayerPlayer xLayer=new JLayerPlayer("C :/Java_Projects/Ney1/src/Sounds/plainSounds/xFile.mp3");...
    See more | Go to post

  • desturrr
    started a topic Painting components on Panel Picture ?/?
    in Java

    Painting components on Panel Picture ?/?

    I have been searching all over the sites, but i couldn't manage to get button or any other component on a image panel. There are some codes that says while painting the picture you can show components. Basically they are overriding the paint method of the panel. But i need to make my frame background image while not having the diffuculties of overriding the paint method of panel because i have many components . Netbeans offers me to change background...
    See more | Go to post

  • desturrr
    started a topic Java-Drawing Pictures - Urgent...
    in Java

    Java-Drawing Pictures - Urgent...

    I am using netbeans ide gui designer , i have placed a panel which has a picture in it , and i want to place another tiny pictures on this main picture, What can i do to manage this , Can i make the main panel picture as a background to it so after i can add other pictures on this main panel or other ways ?. Anything you suggest would be great help. Thanks in advance.
    See more | Go to post

  • desturrr
    started a topic Mp3 format for Java ???
    in Java

    Mp3 format for Java ???

    Is there any way to play mp3 file by using Java api? I strongly need to play mp3 files, because wav files are so big according to mp3 .

    Thanks.
    See more | Go to post

  • desturrr
    replied to Sound for Java application ?
    in Java
    Thanks for reply, but the thing is i have tried the options (Windows sound recorder, Ultra audio recorder ) , i need to make sound size as possible as minumum . Blaze media pro gives me options to reduce the quality so that i can get 70 kb for 4 seconds sounds ,but it is not satisfactory.I need to know which audio formats is suitable for this kinda application or does java supports any other formats. I want this sound size minumum in order to make...
    See more | Go to post

    Leave a comment:


  • desturrr
    started a topic Sound for Java application ?
    in Java

    Sound for Java application ?

    I am planning to start writing an application by java. Let me tell what i have in my mind. There is going to be stave and client can input the notes for the song on the stave, as you know just like guitar pro. What i want to do is after composing these notes on a free stave, i have to play the notes but firstly i need to record the sounds , i searched about the sound file formats, the sound api for java supports wav files. If you know any program...
    See more | Go to post

  • Thanks. I used the Focus() method in form activation method and it worked smoothly .
    See more | Go to post

    Leave a comment:


  • How to activate specific object when form is loaded ?(c#)

    I want my combobox to become an active object and ready to input text into that right after form is loaded ? Is there a way to make my combobox active control ?

    Thanks
    See more | Go to post

  • desturrr
    replied to How to minimize by pressing esc(c#)
    in .NET
    Yeah i did it,I made the button so small and put where nobody sees it :), but if you have any other solution , you are welcome.

    Thanks.
    See more | Go to post

    Leave a comment:


  • desturrr
    replied to How to minimize by pressing esc(c#)
    in .NET
    Ok, i understand the problem now, i made the button visible property false , in order not to see it on the form and expect it to work when pressed the escape key.The other problem is now , is there have to be a shown button in order to work this escape key which is bound to that button ?
    See more | Go to post

    Leave a comment:


  • desturrr
    started a topic How to minimize by pressing esc(c#)
    in .NET

    How to minimize by pressing esc(c#)

    I am currently working on a windows form and i want to minimize the form when pressed the escape key , i tried the cancelButton property for form ,and bind the button which is

    private void btnHide_Click(o bject sender, EventArgs e)
    {
    Hide();
    }

    pressing the button by mouse hides the form, but pressing esc which is bound with btnHide is not working ,

    Is there sth that...
    See more | Go to post
No activity results to display
Show More
Working...