Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MarlBermudoNights

@MarlBermudoNights
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Perform -> key press Event on GUI programmatically
    M MarlBermudoNights

    KeyListener + passing the focus properly:

    @Override
    public void keyTyped(KeyEvent ke) {
    if(ke.getKeyChar() == KeyEvent.VK_LEFT){
    //do something
    }else if(ke.getKeyChar() == KeyEvent.VK_RIGHT){
    //do something else
    }
    }

    @Override
    public void keyPressed(KeyEvent e) {
    keyTyped(e);
    }

    also by input mapping:

    private void inputMap(){

        this.getInputMap().put(KeyStroke.getKeyStroke(
            KeyEvent.VK\_LEFT, 0), "left");
        this.getActionMap().put("left", new AbstractAction() {
            @Override
            public void actionPerformed(ActionEvent ae) {
                //do something
            }
        });
    }
    
    Java question java

  • Server Socket is closed on client closed
    M MarlBermudoNights

    try{
    //code that causes the exception
    }catch(SocketException e){
    Sytem.err.println(e);
    }

    Java question sysadmin

  • Beginner in Java. I want to test my knowledge
    M MarlBermudoNights

    Do you want a practice with class inheritance? If yes: create a command line chess set, no AI need, just recreate the basic methods of movements,etc. no: create a command line turtle graphics app. Here is a turtle graphics problem definition: http://www.bfoit.org/itp/IntroCmdsScreencast.html[^]

    Java learning java help question

  • java media player with Java Media Frmework
    M MarlBermudoNights

    Try searching for codec java libraries. Usually they need JMF to be used. Like this one: JFFMPEG[^]

    Java java help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups