In what language awt, sun, javax classes are written

In what language awt, sun, javax classes are written?
c/java or some other?
.:moby:.

uhhh. Java. The code is in the source.jar in your installation directory (if you have SDK and chose to install source...)

Similar Messages

  • What is actually happenning when we are importing a class of some other pac

    Sirs,
    I have a doubt which is very basic to java,
    I want to import a class say "HashMap" to my class.
    If i put import "java.util.HashMap" or "import java.util.*;"
    Which will be better ?
    If i put "import java.util.*; " will it affect the performance?
    What is actually happenning when we are importing a class of some other package to our class
    Your help solicited,
    Sudheesh K S

    Many of your questions of this nature can be quickly answered by a search of prior posts to the forums, like this:
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=631979
    And why do you tend to post boldened text? It's harder to read.

  • Which classes are inherent in the Java language?

    For some reason I just thought of the question this past 2AM.
    What classes are significant to the Java compiler? The list I thought of was:
    Object -- implements wait() and synchronized
    String -- all those convenience idioms we couldn't live without
    StringBuilder -- for String operators like "a" + var
    Integer, Long, Short, Char -- also for String operators like int i; String x = "abc" + i;
    Throwable -- needed for catch clause
    RuntimeException -- needed for implicit throw
    How about the following? Does javac need to know about these? Or are they all handled by the runtime base classes?
    Class
    Constructor
    Thread

    AlanObject wrote:
    jverd wrote:
    ErrorI've never run into this class before, but wouldn't the JVM and not the compiler be dealing with this?> I don't think it has to know about StringBuilder or StringBuffer, as the JLS does not require their use for string concatenation with +. It's just that most implementations do it that way.Good point.
    I don't doubt that in the creation of Java there were long discussions about this. They could have done away with the String-awareness of the language by forcing the use of direct methods but the usability issue won the day.
    Also, are there now classes implied in the use of the for-each statement (Collection?) and in enums (Enumeration?)That would be Iterable, a shiny new abstraction. And, by extension, Iterator. Both them and enums, though, are tricks of the compiler, syntactic sugar. There's no new bytecode for those mechanisms (as yet)

  • HT2523 What languages are available for TextEdit?

    What languages are available for TextEdit?

    I've updated the list to add the remaining CS6 Help PDFs:
    Illustrator is now available in Français, Deutsch, Japanese (日本語).
    Fireworks, Bridge, and Extension Manager are available in Français only.
    No additional PDF languages will be added for Illustrator and Photoshop.

  • What languages are in the FontPack11000XtdALF_Land.msi?

    Hi,
    I am wondering what languages are included within that pack? There is no documentation available for this pack?
    FontPack11000XtdALF_Land.msi
    Especually interresting for me is arabic. I have the need to support arabic as language within the PDF text.
    The used OS will be Win 8.1 on Intel HW and best would be version 11.0.17 if that works out
    I was also not able to find something about useable fonts for arabic or if there is something I should think about in the first end?
    Best regards
    Archisaurus

    The fonts are far eastern fonts (Chinese - both, Japanese, Korean, which need CMaps and substitiute fonts in case he font is not embedded. No download is needed to support Arabic.

  • What "language" are .sequ files in?

    Hi:
    N00b here -- poking around the .sequ files, unclear about what language these things are written in. Adobe-specific proprietary format and syntax?
    -- Roy Zider

    Yes, .sequ files are in a proprietary/internal format.

  • What language subtitles are available if i buy a movie in english on itunes?

    what language subtitles are available if i buy a movie in english on itunes? or if i buy a movie in italian will i have the option to use english subtitles? i'm living in italy and learning italian so i like to have those options when i buy a movie.

    Only if you put it on your iphone.

  • What languages are supported in Lumia 800 UK versi...

    Does anyone know what language options Lumia 800 sold in UK has?

    I was under the impression perhaps erroneously that Windows is much restrictive than previous Nokia OS in this respect, even though Windows Mobile 7.5 Mango delivers increasing support for other languages.
    Happy to have helped forum with a Support Ratio = 42.5

  • What classes are required in a JRE

    I am supporting code that utilizes sun.security.provider.Sun but get ClassNotFoundException when I run with IBM's JRE which doesn't have this class. Should it? Or how can I code around this. It seems that when I debug in JBuilder X that the exception happens from the ClassLoader before my main function.

    Don't use the non standard sun.* classes if you want cross JRE support.

  • What is a Dynamic Proxy Class or Method for?

    I only recently "discovered" proxy classes/methods.
    Im rather curious about them because I still cant manage
    to understand what they do or what theyre for.
    Can anyone give a simple and practical use for this language feature?
    I read this:
    http://java.sun.com/developer/technicalArticles/JavaLP/Interposing/
    Which seems to indicate that proxy classes are for intercepting
    method calls?
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/Proxy.html

    becareful what you ask for? :)
    http://java.sun.com/j2se/1.3/docs/guide/reflection/proxy.html
    http://www.javaworld.com/gomail.cgi?id=658521
    http://www.codeproject.com/dotnet/dynamicproxy.asp
    http://www.javaworld.com/javaworld/jw-02-2002/jw-0222-designpatterns_p.html
    http://www.devx.com/Java/Article/21463/1954?pf=true
    http://www.developertutorials.com/tutorials/java/java-dynamic-proxies-050514/page1.html
    http://today.java.net/pub/a/today/2005/11/01/implement-proxy-based-aop.html
    http://joe.truemesh.com/blog/000181.html
    http://www.ociweb.com/jnb/jnbNov2005.html
    http://builder.com.com/5100-6370-5054393.html
    http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-dbcproxy.html
    http://today.java.net/pub/a/today/2006/07/13/lazy-loading-is-easy.html
    http://www.artima.com/weblogs/viewpost.jsp?thread=43091

  • What is wrong with this class?

    It would not reconize the drawImage function
    I had another similar and it worked, what's with this.
    import java.awt.*;
    import java.applet.*;
    public class PicturePrinter {
         public void init(){
         public void paint(Graphics g,Image image,int x,int y){
              g.drawImage(image,x,y,this);
    }this one works:
    import java.awt.*;
    public class Printer {
         public void init(){
         public void paint(Graphics g,String string,int x,int y){
              g.drawString(string,x,y);
    }

    If you read
    [url=http://java.sun.com/j2se/1.5.0/docs/api/java/awt/
    Graphics.html]the relevant documentation, youwill see that there is a particular requirement for
    the fourth argument for drawImage that you are
    not fulfilling.
    Hes making it null.

  • Which classes are required to run a basic client app outside of jDev?

    Basic question, folks.
    For a minimal program, say a frame and a swing component, which classes need be copied (to a system without any Oracle software installed) in order to run? Is there a listing available that describes which class/jars are needed if x component is used?
    Also, will jre 1.4 work? Or do I need to copy a special Oracle JVM? If so, is there a specific installer just for it?
    TIA
    -Nat

    Nathan,
    To run any Java application, you will need a Java Runtime Environment(JRE) which is part of the Java Software Development Kit (SKD). If you want to distribute your application with a JRE, you can copy the .../jdk/jre directory from JDeveloper (check the readme file about copyrights and other legal issues) or you download it from http://java.sun.com/j2se/1.3/download.html
    Both the AWT and Swing libraries are included in the JRE in the same jar file as the basic java.lang or java.io classes. The name of the file is rt.jar.
    If your program runs with the Oracle VM, it will run with Hotspot. Both VMs are equivalent when running your application. It is only for the development phase that we strongly suggest to use the Oracle VM because it is much better instrumented for development than any other VM.
    If you want to know precisely which classes are loaded from which jar files, run your application from a command line and add -verbose:class.
    For example:
    C:\JDev9\jdk\demo\jfc\SwingSet2>java -verbose:class -jar SwingSet2.jar
    - Cedric
    JDev. team

  • What language is JAVA written in?

    Hi,
    What language is JAVA written in? Please give me a simple and short answer for my question.
    God Bless,
    Bruce

    Most of the Java Libraries (java.lang.*, java.util.*, etc) and other APIs are written in Java.
    The compiler can be written in Java, but I think that most are probably written in a native language. The compiler turns your .java files into bytecode, which can then be read by ANY JVM, regardless of the platfrom.
    The JVM will always be written in some native language. On Windows systems, that will usually be C/C++, while on IBM mainframes it can vary. The JVM is in a native language because it is what's responsible for "translating" the compiled bytecode into machine language that the platform can understand.
    .java text files are platform-independent.
    .class bytecode files are platform independent.
    Most APIs (except ones that do platfrom specific actions) are platform independent bytecode.
    The JVM is native code, because it is what turns all the platform independent code into something the native platform can read.
    This explanation is awfully general, but it should give you a good idea of how it all works.

  • What language would suit someone who hates anything that isn't PHP?

    Psst. Yes, this message is long, but so are my requirements. Please take the extra few seconds to read it
    First it was QBasic, then QuickBasic, then, of all things, Visual Basic... version 1.0. On Win98. Then XP.
    I made a lot of stuff with VB. 500 doesn't give a very good indication of how many things I made with VB 1.0, but I remember having more items than that in my c:\vbwin folder. VB might not look all that great visually, but it had a few things I've not found in any other language/environment, namely simplicity, freedom of use, speed, flexibility, hackability, and speed. Definately speed. It wasn't great on memory usage however - after my projects started creating 80KB binaries, VB would start to get crashy.
    But VB had simplicity because it didn't use the 2873598734-options 997341234-properties 897592873562874353469582743-functions mantra of VB 6.0 nor the 9-billion-of-everything mantra of .net. I could whip up an application in that environment within seconds - indeed, I became quite a master at configuring some defaults I liked for forms and adding a hidden button that responded to the ESC key in about 7 seconds. It had freedom of use because... I could do anything with it. I could, because I was just that patient enough, use 234 perfectly aligned pictureboxes to create "the Win95 look" in a program designed to work on Windows 3.1 (yes, VB 1.0 is 16-bit ), and VB had speed because those 234 pictureboxes appeared on my running program's form when I hit F5 faster than I could blink. It had flexibility because I could shove 12MB of BMPs into my EXE and it'd run fine. It had hackability because I could import the Win16 API and work around issues in the language itself to make my applications what I wanted them to be. Did I mention the speed? Well, it was copyrighted in 1991, so was written in the good old days of the 16MHz 486!
    However, all that fun was, sadly, from a while ago. Like, 8 months ago or so, probably more.
    What marked the end of that period was a conversation on IRC one day: someone gave me a 5-or-so line snippet of code in PHP. It wasn't very complicated, but it showed a clean solution to something I needed to do with web development, which I was just getting into at the time - I can't really remember what the actual issue was, but I do remember that my choices were either to use the code snippet, or go through some looong complex process to complete whatever it was I wanted to do manually.
    The code didn't look too scary, so I installed PHP and gave it a whirl. And I've liked, used, and abused PHP for many months following that initial "well maybe this isn't so bad". I don't mind PHP's use of 14 functions or more/less to do the same thing, or the fact that PHP isn't multithreaded. I probably wouldn't take advantage of multithreading in my code for a long time anyway, and PHP does have pcntl_fork() if I want to do two things at once in a controlled way.
    However... I'm starting to outgrow PHP, and I'm a bit homesick of VB's visual ease of use as well. I want an environment that lets me drag'n'drop a picturebox onto a form, shove a pile of pictureboxes inside of it, then programmatically manage them all. Yes, that's exactly the kind of thing I'd do with VB 1.0, and what do you know, I created something good from it - a simple but very usable media center-ish user interface complete with animation and it all ran fast on the PC I was using, a Pentium 3 clocked at 450MHz, with only 128MB RAM.
    Yes, PHP-GTK, PHP-QT and PHP-TK do exist, and they've all failed on my system at various points: PHP-GTK compiles and works absolutely fine, but breaks PHP-CGI. PHP-QT won't compile on my system, and its compile process is just too hard to tweak so I can't try gcc-3.4 on it. And anything involving PHP-TK that doesn't amount to creating a single, empty, lifeless window titled "PHP/TK" produces warnings or segfaults.
    So I'm looking for a programming language that gives me something comparable or equal to what VB 1.0 had - a visual drag'n'drop development environment that didn't visually overwhelm, compilation, and speed, and what PHP has - simplicity, readability, and bindings to/for everything that isn't desktop application development, without the VB syntax format. I'm past VB, and about to surpass PHP.
    Possible candidates for a new language are pretty much anything that includes both a compiler and interpreter, looks and feels like PHP, has nothing PHP doesn't have, but offers more power by using more functions, not weird, non-C-like ASCII character soup. So, if you were to take the PHP parsing engine and couple that with a bunch of libraries that adds sane stuff like native window support, the ability to manage boxes and squares in code, and so on. OR anything equivalent. So if something had ability XYZ which I couldn't figure out how to use, but also let me complete goal ABC while *not* using XYZ, it meets my requirements. And if something has just an compiler, you'll have a bit of a hard time convincing me to like it, but if it only has an interpreter, you'll really need to sell it to me, since I'm starting to get the compilation bug again, just like I did 7-8 years ago when I gazed at the wonder that was the EXE and wanted so badly to create my own.
    Also, before you list Perl, let me stop you: Perl has too many unreadabilities. "test ? abc : def" is about as far as I'm prepared to go; I far prefer English text over regular expressions, Awk and the like. Also, C is just too much. It is, probably unsurprisingly considering what you've just read, too cool for my artistic brain. I don't want a language that can do everything: I get inspired by difficulty, not being able to do whatever I want. Yes, that's how my brain works, and I need to go with the flow, not against it, so simply because C can do absolutely anything and everything, I can't use it.
    I will, however, note that I also like the Bash language, and the way it works, if only it wasn't so slow!
    So, to sum up, the best things I've written include a media center user interface in a language that's 17 years old (same age as me! ), a telnet server using PHP (I wrote the RFC-compliant telnet parser myself, from scratch), and lastly a textual taskbar, an IRC client, and some animations using Bash.
    I want a language that is readable and doesn't try to extend or expound on its own using syntax but lets me do the thinking my own way, so I have nothing stopping me from using it for what it wasn't used for. Because isn't that what we all do with programming languages anyway?
    -dav7

    As promised...
    A little simple at the moment, but it's the result of a dream... to create The Perfect Language. I just may end up calling it TPL if it works out.
    ; dav7's view of what The Perfect Language is
    ; Licensed under the Nonexistant Public License (NPL) - "do w/e you want w/ it, just give me a bit of credit."
    ; 30-sep-08 - ?-oct-08
    ; <[email protected]>
    ; /me invents comment blocks so he doesn't have to keep typing ;s
    There. :D
    Now, the problem with most common programming languages (I'm looking at you, C) is that they
    - are rather unreadable
    - are really hard to work with for the unknowledgable
    - impose a 32768-second wait on the impatient, ADHD-infused programmer as the code file(s) compile for the
    247th time
    - involve a lot of typing, some of it needing to be a specific case (CAPS or lowercase)
    - requires a lot of input to get something basic functional, and has a very high initial code to output
    ratio: at the beginning of a project a high percentage of code is required to get a reasonable amount of
    output, and only after there is a fairly decent amount of code present will the code / output ratio
    decrease so that only a relatively small amount of code is needed to produce the application-specific
    output desired
    - is not natively very image-oriented - to display an image in a window without 5GB of libraries, I need to
    know Xlib, how to decode PNGs and how to manage double-buffering
    So, I want to create a language that
    - is both readable AND easy to type. No, I'm not going to do a survey of what word groups are the easiest
    for the eye to pick up on, or go anywhere near that extreme; rather, my language will have two "modes".
    One is amazingly quick to type, and the other, while relatively minimalistic, actually uses ASCII characters
    to denote function, data and flow, and my compiler/interpreter combo will have a converter that will pass
    through and convert a code file from one "syntax mode" to the other.
    - can be both interpreted or emitted, depending on the situation ("emitted" here means that instead of working on
    something that can generate native code for 784598754 platforms myself, I'll just output C-- code or something)
    - has bindings for X
    - makes it very easy to debug a program
    From a result-, goal- or solution-based person like myself, I don't see language design the way most others would.
    I don't value a language based on its algorithmic efficiency, I value it based on ease of use. I don't see things
    from a procedural perspective, but rather a tokenized object oriented tree of constructs that I must feed to the
    computter to achieve the result I want. This language adheres to that principle.
    So, let's get started with this new language. As I go along, I explain points of interest / trivia about whatever
    I'm referring to.
    ; The ubiquitous "Hello World". To print something, you encase it with single or double quotes and don't assign
    ; any meaning to it by telling the language to set the string to a variable or test it against something. A
    newline is automatically added at the end of a line of such output produced by quoting.
    "Hello world!"
    ; variable assignment by usage. There's no "true" or "false" here. Everything uses plain, un-expounded (in that 0
    won't mean false or 1 true) integers to represent state or status.
    x = 1
    ; if/then - the '? var : abc : def' construct compares 'var', and if 'var' is 1, it executes 'abc', otherwise it
    ; executes 'def'. This'll print "x = 1!". This construct could be used to do anything - I'd want it to operate
    ; as much like the C preprocessor as possible.
    ? x = 1: "x = 1!" : "x = 0!"
    ; the previous line could also be written as:
    ? x: "x = 1!" : "x = 0!"
    ; or even:
    "'x' is equal to $x, which would equal"; ? x: "TRUE" : "FALSE"; "in a lot of other programming languages."
    ; calling a procedure. See the procedure declaration below for more info.
    test x
    ; a loop. Loops start with a '[' and end with a ']'. This language doesn't have any for or while loops - you
    ; construct those on your own.
    [ ;; this demos both nested comment blocks, and the fact that I stole C's add-1 method -> ;; x++
    ; the ! operator breaks out of a loop. I might change this.
    ? x > 5: !
    ; Print the current index, up to 5. Using a $ next to a known variable name in a quoted string will
    ; print that variable's contents.
    "$x"
    ; Now for a for-esque loop - very similar to the previous example. Note that at the beginning of the block, a
    ; semicolon isn't required to denote its seperation of the pre- or proceeding code behind and in front of it.
    z = 0 [ z++; ? z > 10: !
    "$z"
    ; procedure start. No definition of the function or parameters is required - variables are accessible inside
    ; the function as 'a', 'b', 'c', etc. When 'z' is reached the next variable is indexed as 'aa', then the next
    ; as 'ab', etc. Also, functions can be defined after they're called - the parser will have the entire program
    ; in memory before it executes a single line of it, and the compiler will likewise parse the entire program
    ; before outputting any C.
    test:
    ; Yes, it looks like I have the quotes wrong, but I don't. This language allows for Bash-style
    ; variable-string combination ;)
    "ohai from teh procedure! You passed "$a"!"
    ; procedure end. Note that I start with "proc:" and end with ":proc" - this makes it very easy to see
    ; what function I might be seeing the end of if it's long and I can see any function starts.
    :test
    ; Now for everything demoed here as a one-liner.
    "Hello world!"; x = 1; ? x: "x = 1!" : "x = 0!"; "'x' is equal to $x, which would equal"; ? x: "TRUE" : "FALSE"; "in a lot of other programming languages."; test; [ ? x > 5: !; "$x" ] z = 0 [ z++; ? z > 10: !; "$z" ] test: "ohai from teh procedure!" :test
    ; And now for everything in its slightly more readable form...
    "Hello world!"
    x = 1
    if x = 1 then "x = 1!" else "x = 0!"
    if x then "x = 1!" else "x = 0!"
    "'x' is equal to $x, which would equal"; if x then "TRUE" else "FALSE"; "in a lot of other programming languages."
    test
    [ x++
    if x is greater than 5 then break
    ; OR
    ; if x > 5 then break
    "$x"
    z = 0 [ z++; if z > 10 then !
    "$z"
    test:
    "ohai from teh procedure!"
    :test
    ; And now for this version as its oneliner:
    "Hello world!"; x = 1; if x then "x = 1!" else "x = 0!"; "'x' is equal to $x, which would equal"; ? x: "TRUE" : "FALSE"; "in a lot of other programming languages."; test; [ if x is greather than 5 then break; "$x" ] z = 0 [ z++; if z > 10 then break; "$z" ] test: "ohai from teh procedure!" :test
    That's about it.
    What do you think?
    What language has the closest syntax as mine?
    Is this language viable? Could it survive actually being developed?
    Please do let me know your opinions/comments/suggestions/flames.
    -dav7

  • I have a problem with your app store, always I want to update a new app, I want to know what Schiffer and novelty app! Most of my applications are in English, and they write what the improvement and renewal are written in English, and I do not speak the

    Hi
    I have a problem with your app store, always I want to update a new app, I want to know what Schiffer and novelty app! Most of my applications are in English, and they write what the improvement and renewal are written in English, and I do not speak the language! I try to copy the text, color (gray) is not successful, the variance can it, so we can copy the text and translate?
    I thank you for your help, it can help to humanize

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

Maybe you are looking for

  • Computer got virus and lost everything

    My dell got a major virus and crashed and lost everything, got new dell inspiron and downloaded Itunes will read i pod but wonr sync music do i have to reset ipod?

  • ObjectMedia partialTriggers and audio file

    Hi, i have a problem using <af:objectMedia refreshing the media object. Audio file must change by clicking reloadAudioButton but the player is not visible and "*/" is shown. Refreshing the page with F5 (or reload browser button) it works. In my jspx:

  • Need help in SAP SD "Competency Area Basic Functions"

    Hello Gurus! I'm preparing for SD certification exam, i have question regrding about the competency area of Basic functions. What basic funtions are required to prepare for the exam. Anyone can advise me what to prepare also any advise about the exam

  • ISynch and Palm Desktop

    Apple has always been about the user experience. That's the main reason the Steve's developed (yes the ideas came from Xerox PARC, but....) the OS in the first place. Apple's latest mantra has been "seamless". To that end, why can I not keep EVERYTHI

  • Copiing music off mp3 player he

    Hey i need help copiing my music back off my mp3 player back to my computer. I have tried that sync manager thing but it messes up and only copies 400 or so of my songs. The other songs arent showing up in .mp3 or .wma format at all. Even when vieing