What do you with from Java ? [Christmas & 2009 edition]

What do you wish that Java can bring you next year so that you will be happy :)
As for short term what do you wish Java to bring you for Christmas :)
Ps: It may look like troll but I am not mad yet :))

BigDaddyLoveHandles wrote:
Closures. I want to reach into my Christmas stocking and pull out... another stocking. Then reach into the second stocking and pull out ... the first stocking!hmm, I'd not heard closures being referred to as Mobius references yet.
Nice one, can I use it together with my calling them function pointers (which they are of course), the combination will really upset the closure lovers (most of whom don't have a clue as to the damage the addition of the darn things will do to the language).

Similar Messages

  • What do you think of Java 2 Micro Edition?

    Hi,
    I would like to know, if anyone used the J2ME, and if so, what do you think of it. I am thinking of designing a middleware for mobile devices such as PDA, and I would like to know your thoughts on it.
    Thanks
    Neil

    I haven't used it yet, I am reading about it. I am not sure if you have seen this link:
    http://java.sun.com/products/cldc/
    Good Luck.

  • What are Crypto Cards, and what are they different from Java Cards?

    Hi,
    I just heard the name 'Crypto Card'. I thought Java Card is the only standard for smart card. Could anyone tell me what are Crypto Cards, and what are they different from Java Cards? Thanks in advance.
    Joey

    Probably any card that offers cryptographic capabilities (crypto coprocessor) could be called "Crypo Card", but likely the term was referred to cards offering a pkcs#11 interface.
    Pkcs#11 is the standard for accessing crypto devices, like tokens, cards, or accelerators. Such a device can be easily accessed for example from your browser to perform cryptographic and digital signature operations.
    A Javacard can operate as a pkcs#11 device in you install on it an applet dealing with the pkcs#11 requests.

  • Does anybody know what is wrong with my java code?

    Does anybody know what is wrong with my java code?
    --------------------Configuration: <Default>--------------------
    stockApplet.java:47: cannot find symbol
    symbol : variable M_pointThread
    location: class StockApplet
    if (M_pointThread==null)
    ^
    stockApplet.java:49: cannot find symbol
    symbol : variable M_pointThread
    location: class StockApplet
    M_pointThread=new Thread(this);
    ^
    stockApplet.java:50: cannot find symbol
    symbol : variable M_pointThread
    location: class StockApplet
    THE CODE:
    import java.applet.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    public class StockApplet extends java.applet.Applet implements Runnable
    int Move_Length=0,Move_Sum=0;
    String FileName,Name_Str,Content_Date;
    int SP[]=new int[2000];
    int KP[]=new int[2000];
    int JD[]=new int[2000];
    int JG[]=new int[2000];
    int Mid_Worth[]=new int[2000];
    String myDate[]=new String[2000];
    double CJL[]=new double[2000];
    double MaxCJL,MidCJL;
    Label label[]=new Label[10];
    int MaxWorth,MinWorth;
    int x_move0,x_move1,MaxLength=0;
    int x0,y0,X,Y,Record_Num;
    boolean Mouse_Move,Name_Change=true;
    int JX_Five1,JX_Five2,JX_Ten1,JX_Ten2;
    public void init()
    TextField text1=new TextField();
    Thread M_pointThread=null;
    setLayout(null);
    this.setBackground(Color.white);
    this.setForeground(Color.black);
    for(int i=1;i< 10;i++)
    label=new Label();
    this.add(label[i]);
    label[i].reshape(i*80-65,10,50,15);
    if(i==2){label[i].reshape(80,10,70,15);}
    if(i==7){label[i].reshape(510,10,80,15);}
    if(i >7){label[i].reshape((i-8)*490+45,380,70,15);}
    FileName="six";
    Name_Str="six";
    this.add(text1);
    text1.reshape(150,385,70,20);
    text1.getText();
    public void start()
    if (M_pointThread==null)
    M_pointThread=new Thread(this);
    M_pointThread.start();

    Welcome to the forum. I think that George123 has your problem and its solution well in hand. Follow his good advice and you will have solved this problem. One other thing though just for future reference. If you post your code, here, you are going to want someone to be able to read it easily. Please use code tags when posting next time and your code will be much easier on the eye. You can find out about them here:
    http://forum.java.sun.com/help.jspa?sec=formatting

  • What do you think of Java applets?

    What do you recommend for Java applets?

    georgemc wrote:
    DrLaszloJamf wrote:
    sabre150 wrote:
    What do you recommend for Java applets?A dustbin.
    http://forum.java.sun.com/thread.jspa?threadID=764962&start=0&tstart=0
    <drum-roll/>
    <cymbal-crash/>throws ThreadResurrectionExceptionWoops. It takes me a long time to set up my drum kit?
    Actually, I was looking at the OP's Recent Message list to see if his most recent post was related to an earlier one.

  • ONLINE POLL - WHAT DEGREE YOU HAVE IN JAVA? & YOUR INCOME EVERY YEAR

    ONLINE POLL - WHAT DEGREE YOU HAVE IN JAVA? & YOUR INCOME EVERY YEAR?
    Degree:
    Income:
    Thanks for voting!

    Degree: Third degree Java black belt - black just like I like my java.
    Income: Barely enough to cover my expenses. It is strange, but the more you make, the more you seem to spend.
    fitz

  • What's wrong with my Java?

    Hi all!
    While doing a little maintenance under AppleJack, I've noticed for the umpteenth time that a lot (and I mean a lot, like, dozens) of permissions related to Java were repaired. There are literally tons of them, each time I repair permission, whether under a normal user session, in safe mode on with AppleJack in single user. Is there something wrong with SL's version of Java? Have some of you guys noticed the same thing? Is it dangerous?

    Thanks for trying to help! I do have Onyx installed, but as far as I can remember, I haven't used it once since I installed SL: I installed it out of habit (proved handy on Tiger), but it's just gathering dust on its shelf as we speak...
    As for the Terminal query you advised me to run, here's the result (sorry, it's pretty bulky, but I've noticed a difference in the first line between my entry and yours; check the letter after the dash, at the end of the first group of letters):
    total 36708
    drwxrwxr-t 31 root admin 1122 6 jan 19:17 .
    drwxrwxr-t 31 root admin 1122 6 jan 19:17 ..
    -rw-rw-r-- 1 root admin 15364 11 jan 18:46 .DS_Store
    drwx------ 3 root admin 102 13 nov 11:47 .Spotlight-V100
    d-wx-wx-wt 2 root staff 68 13 nov 11:04 .Trashes
    srwxrwxrwx 1 root admin 0 23 déc 18:31 .dbfseventsd
    ---------- 1 root admin 0 11 fév 2010 .file
    drwx------ 13 root admin 442 14 jan 13:08 .fseventsd
    -rw------- 1 root wheel 65536 13 nov 11:46 .hotfiles.btree
    drwxr-xr-x@ 2 root wheel 68 18 mai 2009 .vol
    drwxrwxr-x+ 86 root admin 2924 12 jan 07:47 Applications
    drwxrwxr-x@ 15 root admin 510 13 nov 15:36 Developer
    drwxrwxr-t+ 59 root admin 2006 18 déc 15:06 Library
    drwxr-xr-x@ 2 root wheel 68 11 fév 2010 Network
    drwxr-xr-x 4 root wheel 136 6 jan 19:48 System
    drwxr-xr-x 5 root admin 170 22 déc 23:37 Users
    drwxrwxrwt@ 3 root admin 102 14 jan 11:45 Volumes
    drwxr-xr-x@ 39 root wheel 1326 6 jan 19:16 bin
    drwxrwxr-t@ 2 root admin 68 11 fév 2010 cores
    dr-xr-xr-x 3 root wheel 4082 14 jan 11:44 dev
    lrwxr-xr-x@ 1 root wheel 11 13 nov 11:19 etc -> private/etc
    dr-xr-xr-x 2 root wheel 1 14 jan 11:45 home
    -rw-r--r--@ 1 root wheel 18693813 11 nov 03:15 mach_kernel
    dr-xr-xr-x 2 root wheel 1 14 jan 11:45 net
    drwxr-xr-x@ 6 root wheel 204 13 nov 11:37 private
    drwxr-xr-x@ 67 root wheel 2278 6 jan 19:17 sbin
    lrwxr-xr-x@ 1 root wheel 11 13 nov 11:19 tmp -> private/tmp
    drwxr-xr-x@ 14 root wheel 476 4 déc 20:22 usr
    lrwxr-xr-x@ 1 root wheel 11 13 nov 11:19 var -> private/var
    So, what gives?

  • What do you want from the next version of CS review?

    The concept for CS review is awesome and the current functionality looks to be a solid foundation ready for growth. I'm hoping that the product catches on and continues to mature at a decent pace. Are there other features that you would need in order for you to rely on it as part of your everyday workflow?
    Here's a few feature requests from my wishlist. Please feel free to add your own.
    Ability to download a review
    My clients typically want to "walk designs around" to the execs in the early stages of a product and then embed examples into larger documents toward the later phases of the project.
    Visual overview
    I find myself getting lost in larger presentations. "was that example on page 7, 8 or 9 of the review?" I'd love to see a thumbnail overview (the ability to mouseover a thumbnail and see comments would be very useful as well). I currently use "print summary" on workspaces and folders very often in conceptshare to get a birds eye view of everything.
    Long term organization?
    With no ability to version or archive reviews, what happens after using CS live for a year or more with multiple clients on multiple projects? only time will tell how big of an issue this is.

    jam2000 wrote:
    Cheaper HD films as £4.99 is a RIP off and also more HD content.
    For £4.99 I'd expect to be able to save it and watch it when I wanted. The idea of paying that much and only being able to watch it during a 24 hour window is crazy......
    Also, while I can understand why BT would make a charge for recent HD films I can't understand why there is no free HD content i.e. TV programmes (which would have been available free via an aerial if you lived in the right area and had an HD tuner....) and older films. And maybe this should be a concession offered by BT while they are faffing around decding what is or isn't happening regarding the Freeview HD BT Vision box.....

  • What do you miss from E16 in E17?

    Hi, i was thinking the things i miss from E16, and i thought on asking what else could be improved:
    1) the pager, although its beatifull it lacks several features the other had. (drag and drop windows, zoom...)
    2) window management options! lots of them! i thought the strongest point of E16 (along with being "kind" of lightweight was the great features for managing windows it had. Why are ALL missing in E17? there is no remember, cant change mouse/window behavior, no ALT+TAB... damn i miss those...
    i cant think of more right now... but i will be back!

    I dont know if i expressed bad or what, just in case, i was meaning the  miss from the remarked sentence:
    miss1   Audio pronunciation of "miss" ( P )  Pronunciation Key  (ms)
    v. missed, miss·ing, miss·es
    v. tr.
       1. To fail to hit, reach, catch, meet, or otherwise make contact with.
       2. To fail to perceive, understand, or experience: completely missed the point of the film.
       3. To fail to accomplish, achieve, or attain (a goal).
       4. To fail to attend or perform: never missed a day of work.
       5.
             1. To leave out; omit.
             2. To let go by; let slip: miss a chance.
       6. To escape or avoid: narrowly missed crashing into the tree.
       7. To discover the absence or loss of: I missed my book after getting off the bus.
       8. To feel the lack or loss of: Do you miss your family?
    Thats the one i meant, the last one, i didnt mean to say its "missing" from E17, i was saying what things are you most "desperated" to have again.
    Thats the problem with English and having all those meanings for every word! Hope you understand what was the topic about now.
    Edit:
    When i get home i will check if nickm updated his repo with todays version, thanks rensel!
    Regards.

  • What is  wrong with this java

    Hi guys
    I have a little experience with java
    I have to classes LoginScreen and newUser. LoginScreen calss reads data from text file which is user name and passwords then extracts usernames and load them to Comobox .in the first position of the Comobox I Inserted “Create New Profile” string .When the user click on it another Screen will appear which is instance of the newUser class .And that will allow new user to enter his name and press Ok button to confirm the operation ,then the new Screen will be closed .When that happen I want new user name be inserted into the Combox in LoginScreen.Anybody has any clue why the code below does not work correctly .
    import javax.swing.*;
    import java.awt.*;
    public class newUser extends javax.swing.JFrame {
    private String allowed = "abcdefghijklmnopqrstuvwxyz_- ";
    LoginScreen loginScreen;
    private Dimension loginSize;
    /** Creates new form AddnewUser */
    public newUser() {
    initComponents();
    setLocationRelativeTo(null);
    loginScreen =new LoginScreen();
    private void initComponents() {
    setLayout(new FlowLayout());
    setSize(300, 100);
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setTitle("AddNew User");
    setResizable(true);
    jTextField1 = new javax.swing.JTextField();
    loginSize = new Dimension(110, 25);//125
    jTextField1.setPreferredSize(loginSize);
    this.add(jTextField1);
    jButton1 = new JButton("OK");
    jButton1.setPreferredSize(loginSize);
    this.add(jButton1);
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    String addNew = jTextField1.getText();
    String passwors1 ="123";
    //here when I invoke postAdd in LoginScreen class
    loginScreen.postAdd(addNew,passwors1);
    loginScreen.setEnabled(true);
    private javax.swing.JButton jButton1;
    private javax.swing.JTextField jTextField1;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    public class LoginScreen extends javax.swing.JFrame {
    private ArrayList<String> newUser = new ArrayList<String>();
    private Dimension loginSize;
    String choice="";
    /** Creates new form LoginScreen */
    public LoginScreen() {
    initComponents();//**
    setLocationRelativeTo(null);
    initProfiles();
    private void initComponents() {//**
    setLayout(new FlowLayout());
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setSize(300, 100);
    loginSize = new Dimension(110, 25);
    jComboBox1 = new javax.swing.JComboBox();
    jComboBox1.setPreferredSize(loginSize);
    jButton1 = new javax.swing.JButton("OK");
    jButton1.setPreferredSize(loginSize);
    this.add(jComboBox1);
    this.add(jButton1);
    jComboBox1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jComboBox1ActionPerformed(evt);
    jButton1.setText("OK");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    * Extracts the profiles from the profile.txt file and inputs them within the combo box.
    * Called from the constructor of this class.
    void initProfiles()
    try {
    File f = new File("c:\\JavaPrjImplemention\\javaProject\\profiles.txt");
    Scanner filein;
    filein = new Scanner(f);
    newUser.add("Create New Profile");
    while (filein.hasNext())
    String temp = filein.nextLine();
    newUser.add(temp);
    filein.close();
    jComboBox1.insertItemAt(newUser.get(0), 0);
    for (int i = 1; i < newUser.size(); i++)
    {    if(!(newUser.get(i).charAt(0) == '*'))
    jComboBox1.insertItemAt(newUser.get(i), (i+1)/2);
    catch (FileNotFoundException ex)
    Logger.getLogger(LoginScreen.class.getName()).log(Level.SEVERE, null, ex);
    //here when I inserted the new user to the combox
    void postAdd(String addNew ,String addPassword) {
    try
    newUser.add(addNew);
    String password='*'+addPassword;
    newUser.add(password);
    int len = newUser.size()/2 ;
    jComboBox1.insertItemAt(addNew,len);
    PrintWriter filepw;
    filepw = new PrintWriter("c:\\JavaPrjImplemention\\javaProject\\profiles.txt");
    for (int i = 1; i < newUser.size(); i++)
    filepw.println(newUser.get(i));
    filepw.close();
    catch (FileNotFoundException ex)
    Logger.getLogger(LoginScreen.class.getName()).log(Level.SEVERE, null, ex);
    private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {
    JComboBox cb = (JComboBox)evt.getSource();
    choice = (String)cb.getSelectedItem();
    //here new user will be allwoed to enter
    //his name by invoking newUser calss
    if (choice.equals("Create New Profile"))
    newUser addNewuser=new newUser();
    addNewuser.setVisible(true);
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new LoginScreen().setVisible(true);
    private javax.swing.JButton jButton1;
    private javax.swing.JComboBox jComboBox1;
    }

    1. You have to precisely define "does not work."
    2. You have to use code tags to make your code readable. Re-paste it from the original source (not from you post here), highlight it, and clicke the CODE button above the message entry box.

  • What would you change from factory default on router

    Newbie here. For all the master techs out there. What all should be changed from factory defaults on router to make it as safe as possible? thanks

    1. Change the router password (default "admin") on the Adminstration tab. Choose a good longer password.
    2. Enable wireless security WPA or WPA2 in the Personal/PSK variant.
    3. Choose a good passphrase, if possible use a random generated 63 character string.
    That's about what you have to do to secure the router and the wireless.

  • What do you expect from new Adobe Photoshop Lightroom 6 ?

    I expect some new futures and more possibilities to set some tools
    Better work with hw resources  (multi-core processors AMD and Intel) 
    But the most  I expect simple reinstallation  (Win OS + Lightroom)  with possibility to easy backup all settings...    something like Apple Aperture
    and better option cooperation with other computers
    Which date you expect new upgrade or new version of Lightroom?
    (regarding Photoshop CC I expect No-Cloud version )

    All of the above posts plus.... 
    1 Smooth animated tilt as in the demo videos and on the demo model of the phone. Not this fade / blink in out.
    2 For the "new msg" icon to stop blinking when I have no new msg. 
    3 For the battery indicator not to be an empty battery icon when battery is full- 
    4 For my "BH-804" blue tooth head set to automatically connect when I turn it on, and keep doing it. 
    5 For the key guard switch to enable screen light every time it's activated 
    6 A "Silence" button (when key guard is on) so it keep ringing muted, when I don’t want to answer a call. 
    7 MSN and Skype support with module on the front (home) menu 
    8 An option to have the GPS always (when possible) connected, so location is added to photos and call log. 
    9 More options to edit the top head of the home screen. (remove icons and indicators, date time, profile ect.
    COLORS ARE COOL !!!
    Message Edited by koldtoft on 17-Jul-2009 10:23 AM
    Replaced my buggy Nokia N97 with a HTC Hero.
    Besides the camera and the real keyboard the HTC Hero pawned the N97 on every level.

  • What do you with songs that dont have Album Artwork? Cover flow.

    I have a live concert recording from my favorite band from 2 years ago. obviously since its a live recording, there is no album artwork for it but i use cover flow, which i love.
    if i dont have album artwork for even this live recording then it defeats the purpose of having cover flow. so what do i do?

    Find a suitable image and add that as an illustration in the absence of an actual album cover. Just add add the image manually to the tracks you want: Adding Album Cover Art or Images in iTunes
    I found this page full of pictures using Google image search: The Decemberists

  • How to make  jar with from java code for the filenames containing spaces

    I tried to make jar file using Runtime.exec method . The filenames have spaces in it .So i gave the filenames in double quotes.It works fine with windows and also from the command prompt.But when i run the same code in unix box , it creates a jar file with no content.Pls give some solution. I used the jdk1.2.2

    Pls give some solution. Pls post your code

  • Can you be selective in what contacts you sync from Address Book to your iPhone?

    Good morning/afternoon everyone.
    On my MacBook Pro, I have both business and personal phone numbers and addresses stored in my Address Book.
    I would only like to sync certain people to my iPhone. Does any one know if this is possible??

    Yes it is using Groups. In your Address Book on your MacBook Pro create a new "Group" by clicking the "+" on the bottom of the "Groups" column. I created a "Friends" group and a "Co-Workers" group and a "Family" group.
    Now that you have your new group/s add the contacts you want to that group.
    Now once you have your Address Book organized go into iTunes with your iPhone connected. Click on your iPhone under the Devices section of iTunes. Now goto "Info" and check "Sync Address Book Contacts". Under there select "Selected groups" and choose the new groups you created. Sync and done.

Maybe you are looking for

  • Can you run your iTunes folder on a network / wifi drive?

    I currently have a Macbook Pro but intend to get either a Macbook air (with the SSD,) or possibly the netbook / tablet Apple are probably releasing in Q3 this year. My only problem is that both have (or are likely to have,) a smaller hard drive than

  • Row level security in Cross References Section

    What capabilities does GSM give , beside SLE, for locking down certain rows in the cross reference section? for example, we want to lock out the row that has system name and system ID = "SAP" Thanks, David

  • Itunes loads main page but will not open anything else

    the main page for itunes opens but if i click on something like a song that is under the most downladed category or a movie under the rental category it says it loads but never goes to it no matter how long i leave it.

  • Problem in logging onto portal "Java iView Runtime " error

    Hi, We are getting the following message when trying to logon to the portal. "Java iView Runtime Version : 5.0.200212121529 (c) 2001 SAP Portals The following exception occured while processing your request: com.sapportals.portal.prt.runtime.PortalRu

  • Update to desktop appears to have killed the app!

    I have used the desktop app on my Win 7 machines for ages. No problem. I updated (in response to a message from Blackberry). Immediately desktop refused to start. I re-installed.  It still hangs at the banner. So, I removed desktop (all traces) and r