About Java 3d 1.5

Hi, i meet following interestting and funny things when i use Java 3d.
in java 3d 1.4,this part of Java 3d program is OK.
LineArray lines=new LineArray(8,LineArray.COORDINATES|LineArray.COLOR_3);
     lines.setCoordinates(0,vertexes);
     lines.setColors(0,colors);
     LineAttributes lineattributes=new LineAttributes();
     lineattributes.setLineWidth(15.f);
     lineattributes.setLineAntialiasingEnable(true);
     lineattributes.setLinePattern(LineAttributes.PATTERN_DASH);
     Appearance app=new Appearance();
     app.setLineAttributes(lineattributes);
     shapelines0.setGeometry(lines);
     shapelines0.setAppearance(app);
but in java 3d 1.5, 1.5.1,1.5.2,the three clauses "lineattributes.setLineWidth(15.f);
     lineattributes.setLineAntialiasingEnable(true);
     lineattributes.setLinePattern(LineAttributes.PATTERN_DASH);
" do not function.
I do not know why? I always try to solve this problems,but no answer yet.

Hi,
I have no problems concerning line attributes (antialiasing, pattern, width) while running my applications on Java 3D 1.5.x as long as I run them on the OpenGL pipeline. Direct3D doesn't support line pattern and width!
Did you change anything else in your program when you switched to 1.5.x?
Please, chek out the sample program 'String3D Outline' on http://www.interactivemesh.org/testspace/awtshapeextruder.html and test it in your environment.
August

Similar Messages

  • I keep getting an error window about java since I updated to firefox 8, my tabs will flash, tabs will close and open in a new window, everything stops working, firefox is non responsive, please help

    Since I upgraded to firefox 8, I get this error window that pops up says something about java. My tabs flicker or flash, the tabs will close and open in a new window then everything stops. Then firefox does not respond. When I get this error message, I have to close all tabs wait a few seconds then open it back up it will work for a little while and then do the same thing. I have disabled plug-ins that I do not use, I have cleared my cache and cookies, I am not happy at all with this new version. I waited a while before updating. The first time I was going to update, firefox would not let me keep my anti-virus plug-in. PLEASE HELP

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Why can't i install java on os 10.7, under install it says error  something about java script

    why can't i install java on os 10.7, under install it says error  something about java script

    If you can't get any software updates, there is something wrong and I would suggest reinstalling Lion.
    What errors do you get when you try to install the updates?
    What is the build number of Lion. Look in About this Mac and click on the version number.

  • Give me description about JAVA Proxy Runtime and JAVA Proxy Server

    Give me description about JAVA Proxy Runtime and JAVA Proxy Server with some examples.

    Hi,
    Java proxy runtime :
    Using the Java proxy runtime you can receive messages or send messages to the Integration Server.
    This will help you
    http://help.sap.com/saphelp_nw04/helpdata/en/64/7e5e3c754e476ee10000000a11405a/frameset.htm
    Java proxy server :
    The connection to the Integration Server by using the Java proxy runtime.
    This will help you
    http://help.sap.com/saphelp_nw04/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm
    Regards
    Agasthuri Doss

  • Questions about Java Servlets and JSP

    Hi,
    I'm a confident Java Programmer (and really enjoy using this language) but am very new to Java servlets and Java Server Pages.
    I have previously worked with Perl on my web projects (simple 'league' style voting pages). I read in my 'Core Java' book that I should no longer use perl or even cgi.
    I need to know more about Java servlets and Java Server Pages so I can make the switch to a 'real' programming language.
    I have a few questions:
    How should I start to learn JS and JSP?
    How applicable will the java knowlegdge I have already be?
    Are JSP common on the world wide web?
    What tools do I need to start? (I currently develop in JBuilder and have Java 1.4.1 Standard Edition)
    Is it likey my web host (and others) will support JSP?
    Thank-you very much for helping a novice get started,
    Regards,
    Paul

    Hi, Steve ...has to be frustrating! But do not despair.
    Let's suppose the servlet it's named MyServlet on package org.servlets
    WEB-INF should look:
    WEB-INF
    classes
    org
    servlets
    MyServlet.class
    web.xml
    web.xml file should have this two declarations:
    <web-app>
      <servlet>
        <servlet-name>MyServlet</servlet-name>
        <servlet-class>org.servlets.MyServlet</servlet-class>
      </servlet>
      <!-- other servlets -->
      <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/MyServlet</url-pattern>
      </servlet-mapping>
      <!-- other servlets mappings -->
    </web-app>Now, once the container starts (Tomcat?), you should be able to see that servlet in:
    http://localhost:8080/[my-context/]MyServletAnd what my-context is? The web application context. This string should be empty if your're deploying to the root context, otherwise should the context name. In Tomcat, deploying to root context defaults to using webapps/ROOT.
    Sorry for my English, but I felt the need to answer your request. I hope it helps despite my writing.

  • I can't open ibooks. There was a screen pop up about java se. Help please.

    I can't open ibooks. There was a screen pop up about java se. Help please.

    Hi there ajsupprt,
    It sounds like you may need to update the version of Java installed on your computer. Take a look at the article below for more information.
    Java updates available for OS X on August 28, 2013
    http://support.apple.com/kb/ht5648
    -Griff W.

  • How can I get rid of the alert about java during startup?

    I am currently on OS X LION 10.7.2 and everytime I start my MacAir(2010 version), there's this flash of a popup that goes away too quickly. I was able to read the first few words and it states "Do you want to.....Java.....?" SO it's something about Java. I've manually installed it in my MacAir already but it still pops up and goes away. It's kind of annoying. Help???

    Hi nur.dta,
    You can check to see if it's enabled in start-up options. Go into System Preferences > Users & Groups > Login Items
    You can see if it is in there and remove it. You'll need to authenticate prior to removing it.

  • Need Information About Java Platform Overview For Manager (WJTB-310)

    Hi, My name is Jeffry. I need information about Java Platform Overview For Manager (WJTB-310).
    I need Information about table of contents, how long it takes to study that training (approximately), how many chapters are in that training, minimum Internet connection speed to access that training, and everything you know about WJTB-310.
    Is there a synchronized audio in WJTB-310 ?
    Is there a video streaming in WJTB-310 ?
    Can I receive a certificate for any web-based training ? especially in WJTB-310 ?
    Is there a programming language material in WJTB-310 or just an overview ?
    Sorry for asking to many question
    Thanks
    Jeffry Kristianto Yanuar

    I thought I'd give you a response even if I can't answer your question completely. (I think we ought to start a separate thread entitled "How do you get any replies on this forum???") Here is what I have been forced to do. I introduced some JavaScript on the web page that contains the applet I want to be run. The sole purpose of the JavaScript is to detect which platform the client is on. If it's not MacIntosh, then I have JavaScript write the <object><embed> tag used by the Java plug-in. It it is MachIntosh, then I have JavaScript write the regular <applet> tag and let the Mac browsers do as best they can. With mixed and disappointing results. Netscape 6.2 crashes with a lot of applets. IE 5 brings up the applet okay but certain Swing components aren't displaying properly. The MacIntosh I've been testing on is version 9.1. I'm trying OS X tomorrow.
    Why don't you send a reply to my query under the Java Plug-in Forum--from aronsz, dated 06/11/02--if you have some more info by now. I sure would appreciate it.

  • Question about Java apps structure

    Hello guys,
    I'm a professional C++ programmer and I would like to start learning Java. I'm reading about Java from here and there and would like to ask you about how a java program is structured compared to C++.
    So in C++, I have main.cpp (or any other file name, doesn't matter), which contains a the main() function, and I have .h and .cpp class files that I instantiate (basically) in my main function to get my program to work.
    In Java, I'm confused and can't really find the "general" rule to how stuff are organised. I noticed that every class has a main function (why?), and there's no global scope. And "somehow", file names must exactly be equal to the class names.
    The question is: how are Java files of classes (and other stuff, if available) are arranged to create a program? What's the standard why? And How can I have many classes together in a single main()?
    Thank you for any efforts :-)
    Edited by: 927494 on 13.04.2012 07:02
    Edited by: 927494 on 13.04.2012 09:10

    Thank you guys for the replies. I still have some more doubts :-)
    Do I have to have a file for the implementation and a file for the definitons, like cpp and header files? or just everything inside the class?
    Why does Netbeans fail to compile when I change the class name? what should I change with the class name in general to have it compile correctly? From what I understand till now, the top level class's name (the class with the main() function that's gonna be executed) has to be equal to the file name (and I got that this is the sufficient condition for the app to compile), while the same file can have more classes if I wish. Did I get that right?
    I don't know if I get that right too, we pass only a SINGLE class/file to the compiler, and it automatically resolves ALLLL the included files automatically, unlike C++, where all cpp files have to be passed to the compiler/makefile to create object files, and then the executable is created after linking all those object files with the libraries together. i.e.: Java doesn't really need a makefile because making is really simple with only 1 filename. True?

  • Question about Java's HttpServer: Threading? Backlog?

    Hello,
    I have two questions about Java's HttpServer (com.sun.net.httpserver). From the JavaDoc:
    >
    Management of threads can be done external to this object by providing a Executor object. If none is provided a default implementation is used.
    >
    How can I get information about the default implementation in 1.6.0_13? Do you know the behavior? From my observations, the default implementation uses no Threads, meaning every request is handled in the same Thread, this results in handling the requests to the HttpServer one after another.
    Is this right?
    The second question is about this, also from the JavaDoc:
    >
    When binding to an address and port number, the application can also specify an integer backlog parameter. This represents the maximum number of incoming TCP connections which the system will queue internally. [...]
    >
    When setting the backlog to -1, it uses the systems default backlog. How can I determine the systems default backlog? Can some lines of Java code reveal it (there is no getBeacklog() method)? Or is it up to the Operating System (we use Redhat Linux)?
    Thanks a lot for your help!
    Regards,
    Timo

    How can I determine the systems default backlog?You can't. There is no API for that even at the C level.
    Can some lines of Java code reveal itNo.
    Or is it up to the Operating System (we use Redhat Linux)?Yes. Linux provides a large default. It seems to be at least 50 on most platforms. This is not something you should be worrying about.

  • BASICS ABOUT JAVA

    I need to know the basic knowledge about Java language.And I need simple example programs using Java

    Those websites proved to be great resources to me, but I really learned the language from Java books. Java How to Program and Thinking in Java are my favorite.
    Make sure that you do not skip over any exercises, especially in the beginning because you can't afford to have any gaps. I'd say you're pretty fortunate to have found this great forum this early.
    Good luck.

  • Some questions about Java deployment steps and techniques

    All my java experience is coding and testing in my local machine (where, of course, a jre is available), but ... when I deploy to other people, they may not have a jre or they may have a different version of it than the one needed to run my application. I've read different stuff online including jars and java web start but still I have many questions.
    (1) first one first, Sun contradicts common sense, when it says that i can redistribute my own customized light version of their jre by taking out some files (java.sun.com/j2se/1.5.0/jre/README). there are two ways for me to get a jre: Way one is by downloading one from Sun, the download comes as an *.exe file and I don't see how I can take files out of it, so do you know how?. Way two would be by simply copying the set of files i choose (according to that Readme) from my current jre installation (the one on my \java\jdk\jre directory), does this make sense?, (if you're under windows) doesn't an installed version of a jre need a couple of dlls plus some new registry entries?, this contradicts common sense, if I'm not wrong, that Readme is a nonsense, but since that readme is at each of us jre installation \java\jdk1.x\jre\Readme, it can't be a nonsense, therefore I'm wrong, therefore the answer is either Way 1 or Way 2, HOW? ... or maybe there's a Way 3?
    (2) Say I never read that Readme so I download the jre (as an exe) to bundle it along with my application in a jar ... now I'll give my neighbor either a jar with two exes or two exes jars ... is there a way to make a jar so that two files get executed? ... if the answer is No and I have competition from a second neighbor, then I believe I'm asking my first neighbor to choose my application based on our friendship, that's not reasonable if we are doing business, so Java loses.
    (3) Say that my application is a single executable file like this,
    class X{
    public static void main(String[]$$$){
    System.out.println("Console, where are you?");
    At this point, say that my neighbor accepted the two executables, he executed the jre.exe and has jre6 in his system, now he double clicks on my X.jar ... it's a console application and jar files are not associated with the java.exe launcher since java 5, but with javaw which doesn't open any console ... how do i make it so a console opens and prints "Console, where are you?" ... do I ask my neighbor-customer to add a couple of lines to his path and open his console and (please) enter java -jar jarfile.jar? ... isn't it too much? ... i hope i'm wrong cause this is kind of discouraging
    (4) I've read that by installing a more recent version of a jre on a system that has an older jre (there to help other applications work), I might be causing a problem for the other applications to run ... I guess that's the reason why that Readme kind of encourage to redistribute a "private" version of a jre (one that doesn't come with a java.exe launcher ... any feedback on this?
    (5) I'm reading a lot of hype about Java Web Start ... it looks better than the traditional jar/jre deployment ... but setting up a MIME type to *.jnlp, it doesn't come with some free hosting I've checked ... somebody can recommend a free hosting service that allows to set a *.jnlp MIME? (I'll appreciate a suggestion here, cause I would like to test Web Start)... and, anyhow, how you people compare it with the paradigm of the single executable file?.
    Thanks. Your feedback is highly appreciated.

    jorgelbanda wrote:
    ..(5) I'm reading a lot of hype about Java Web Start ... It's gratifying to think that someone who wants to deploy apps., has the common sense to search first! You would not guess how I often I hear "I wanna' make an EXE" shortly followed by "What's webstart?".
    ...it looks better than the traditional jar/jre deployment ... but setting up a MIME type to .jnlp, it doesn't come with some free hosting I've checked ... OK. You cannot define new mime types, but perhaps the site already has it defined. An easy way to check is to upload 'any old file' that ends in .jnlp and use the [mime type checker|http://pscode.org/mime/] to see what content type it is served as.
    ..somebody can recommend a free hosting service that allows to set a .jnlp MIME? (I'll appreciate a suggestion here, cause I would like to test Web Start)... I'm pretty sure the Google based sites offer it.
    Note that I edited the asterisks out of your post, to avoid the forum software parsing half the reply as bold.

  • Information to study about java script

    could some one tell me information to study about java script. i need material for java script. which book is better

    You of course know that JavaScript is entirely different from Java and [JSP (JavaServer Pages)|http://en.wikipedia.org/wiki/JavaServer_Pages]?
    You can find a forum devoted to JavaScript here: [http://www.webdeveloper.com/forum/forumdisplay.php?f=3].
    You can find a forum devoted to JSP here: [http://forums.sun.com/forum.jspa?forumID=45&start=0].

  • URGENT !!!! I know nothing about java .... ;o)

    Hi all,
    here is my problem, I am working on a demo for a customer, I am business consultant and I know nothing about java and I have noone next to give a hand, so please help.
    I integrated a content in a Learning Management System. When launching this content in the LMS, an applet is created. I get a first page where I have to chose an option. When clicking on any of the options, I get nothing. On my java console, I can read this :
    java.lang.NoSuchMethodError: javax.swing.UIManager.c()Ljava/lang/String;
         at com.cbt.jasmine.Jasmine.Jasmine.b([DashoPro-V1.32-013000])
         at com.cbt.jasmine.Jasmine.JasmineApplet.run([DashoPro-V1.32-013000])
         at java.lang.Thread.run(Unknown Source)
    What can I do to make this ******* content work.
    Many thanks for your answers.
    XToff.

    First of all, nothing is urgent to us, only to you.
    Second, the error is clearly stated being NoSuchMethodError i.e. the program is trying to call a method that hasn't been for some reason included in the program.
    Third, I have no idea what Learning Management System is (and I'm not the only one).
    Fourth, why did you put "Re: URGENT !!!! I know nothing about java .... ;o)" as the topic instead of "Learning Management System"?

  • Three questions about Java and Ftp

    Hello, i've the following questions about Java and Ftp:
    1- .netrc file is in $HOME directory but i can't access to this directory from java code. The following line producesan Exception (directory doesn't exists)
    FileWriter file = new FileWriter ("$HOME/.netrc");
    2- .netrc file must have the following permissions: -rw- --- --- but when i create the .netrc file the following permissions are on default: -rw- r-- r--, how can i change this permissions? (In java code, i can't use chmod.....)
    3- Are there any way to pass parameters to a .netrc file? If i get to do this i needn't change the permissions because i can't modify or create/destroy this file.
    Thanks in advanced!!!
    Kike

    1- .netrc file is in $HOME directory but i can't
    access to this directory from java code. The
    following line producesan Exception (directory
    doesn't exists)
    FileWriter file = new FileWriter ("$HOME/.netrc");$HOME would have to be replaced by a shell, I don't
    think you can use it as part of a legal path.
    Instead, use System.getProperty("user.home");
    Ok, thanks
    2- .netrc file must have the followingpermissions:
    -rw- --- --- but when i create the .netrc file the
    following permissions are on default: -rw- r--r--,
    how can i change this permissions? (In java code,i
    can't use chmod.....)Yes, you can: Runtime.exec("chmod ...");
    I need to use estrictly the .netrc with -rw- --- --- permissions
    Yes, i can use Runtime.exec ("chmod ..."); but i don't like very much this solution because is a slow solution, am i right?
    3- Are there any way to pass parameters to a.netrc
    file? If i get to do this i needn't change the
    permissions because i can't modify orcreate/destroy
    this file.I don't think so. Why do you need the .netrc file in
    Java at all? Writing a GUI frontend?I want to use automatic ftp in a java program and FTP server, the files and path are not always the same, so i can:
    - modify .netrc (for me is the complex option)
    - destroy and create a new .netrc (is easier but i have permissions problem)
    - use .netrc with parameters but i haven't found any help about it
    Thanks for your prompt reply!!!!
    Kike

  • Need help about java

    guys i need ur help.
    i have just started to learn java. but not getting the basics of it. can u plz suggest any book for it ? so that i can start studying it. how should i proceed? plz provide me the necessary information about it.

    I'd suggest forgetting about Java until you have
    learnt English.
    ur, u, plz are not words.That's indeed a valuable input. I'm fearing the day
    when I see someone writing code like
    pblc sttic vod mn(Strng[] a) {
    Sstm.out.prntln("Hw r u!");
    ode]and complain about "Jav bad, Jav not run".
    followed by someone launching a JSR "SMS 1ee7 sp3ak syntax for Jav" which gets immediately approved.

Maybe you are looking for

  • How can I find an older version of itunes?

    Hi I need to reinstal itunes 9.2 to my Mac. I was having a problem with itunes recognising my iphone so followed instructions to uninstall itunes. However when I tried to re-install I find that in the last couple of days itunesx has appeared. My Mac

  • Logical table source in BMM

    Hello, I am using obiee 11g. I have few doubts In RPD with respect to logical table Source. Consider i have tableA,tableB,tableC in PL. Now in my BMM i dragged tableA now i want one column from the tableB. So which method is correct? 1> Go to the log

  • IPhone 3G OS 3.1.2 New Network Problems

    Ever since I upgraded my iPhone 3G to OS 3.1.2, the phone has network and reception issues. The phone goes into "searching" mode at random times and won't come out of it unless I either reboot, or turn on airplane mode and off to connect back to my c

  • Screen 'greys' when click MORE INFO and nothing appears

    Hey there, I'm having immense difficulty uninstalling an application. It has locked items and so it won't trash. I have tracked these items down and have begun unlocking them by using the list view and drilling down until I get to MORE INFO. At this

  • Advanced text editing in WebDynpro Java

    Hi, Please let me know how can I add advanced text editing (making text bold or italic or changing the font of text ) in WebDynpro Java? Is it possible to do it in JSP and integrate in WebDynpro using IFRAME? Please advice me. Regards, Umapathi