Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I need to have my class initialized in the run method. How do I do so?

package me.javoris767.votesql.listeners;

import me.javoris767.votesql.VoteSQL;

public class VoteListener implements Runnable, Listener {

private static VoteSQL plugin;


@Override
public void run() {

    }
}
share
Which class? Your question is too vague to answer at the moment. Please read tinyurl.com/so-list – Jon Skeet 6 mins ago
If you want to initialize VoteSQL wihtin VoteListener class then you could do so in static initializer. – Vishal K 5 mins ago
what do you mean by initialize...? start? – pinkpanther 4 mins ago

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.