I Think impossible--Because java Applets run on JVM which is cross-platform Visual Machine---While C++ program need to recompiled according to targeted System.---For example OS X user and Xp User can't run same varsion.
I believe that the question was basically asking is it possible to create games, graphical interfaces and what not... The op probably has only coded in console and wants to do graphics
I believe you can still write browser stuff in c++, its not impossible, but its definately not made for it, if you are planning on making browser based stuff use java