Ios8 problem Bluetooth class A mercedes

Non funziona più il Bluetooth ios8 con class A mercedes , con il precedente ios tutto ok

tnks for answer
yes the bluetooth in wireless toolkit is only emulated...
i don't know if my handset support jsr82...i try to find some information on internet but no answer...
whit netbeans, i start new project midlet...write code with bluetooth class (javax.bluetooth.*) and all compile correctly, no external library required, i think in wireless toolkit there are some jsr82 implementation class...but if i copy my jar ( and jad) on a phone...i try a lg mobile...i see "no class def found error" that happende if import class from javax.bluetooth...how can i undestand where/why jme phone support bluetooth???
or
exsists a list of mobile whit bluetooth where midlet runs well?
ty again, soz for my eng....i am so confused...

Similar Messages

  • When is apple going to fix ios8 problems?

    I don't want to know how to write a good question, I want to know when Apple are going to fix the ios8 problems?

    We are all users, like yourself, here.
    No one here knows when Apple is going to release another iOS 8.x update.
    Many owners of iPad 2 or 3 models are hoping much sooner than later.
    None of us here knows...
    Sorry.

  • After update iOS8 problem on iPhone 5

    After update iOS8 problem on iPhone 5:
    - rapid discharge of the battery!
    - flying from the application calls, configure and new special game for iOS 8 "Epic Zen Garden" /

    I had the same issue with my battery but figured out what was causing it. I had an email account - an exchange account - that was stuck in a "loading" status for the "Auto Reply." I uninstalled the account and reinstalled and now my battery is back to it's old self.

  • Ios8 problem. ibooks individually open up ok black print on white, but the "page" shows as dark charcoal with indistinct pale lettering and I can't read it.  Nowhere to fix the "page".  It's crap. Please help

    ios8 problem. ibooks individually open up ok black print on white, but the "page" shows as dark charcoal with indistinct pale lettering and I can't read it.  My home page picture appears to "bleed" through.   Nowhere to fix the "page".  It's crap. Please help

    I'd still prefer to keep separate user accounts. I never had any issues like this before. The only time I started having a problem was when I was just trying to force empty the trash a few months ago. I came on here looking for a solution and someone posted a way to empty the trash using the terminal. Before then, I hadn't used the terminal for anything--it was just another app in my utilities folder.  (None of this has anything to do with having separate user accounts. Plenty of people with kids make second and third user accounts on their laptops so that multiple people can use one laptop, having more than one user on a laptop is not very difficult.) But thank you, I'll try that out and see if it works!

  • C3-00 Change Bluetooth Class of Device (COD)

    My Pioneer bluetooth car-stereo doen't autodetect my Nokia C3-00 phone.
    After researching it seems the Pioneer searches for an Bluetooth "Phone" device
    and the Nokia has an "Smartphone" Class.
    Is it possible to change the Bluetooth "Class of Device" (COD)

    I am now able to access the Ovi Store if I use the Ovi Store link. I am using this setup from stugatsa:
    /t5/Cseries/Nokia-C3-AT-amp-T-MMS-and-web-settings-SOLVED/m-p/816985/highlight/true#M7356
    In addition, I created a new access point as follows:
    Menu > Settings > Configuration > Personal Settings > Options > Add New > Access Point
    Account Name:  I used "My Access Point" - without the quotes
    Access point settings
    Bearer settings
    -         Packet data acc. pt:  wap.cingular
    -         Network type:  IPv4
    -         Authentication type:  Normal
    -         User name:  [email protected]  (all capital letters)
    -         Password:  I left this blank
    Now go back to the Personal Settings (Personal accounts) > Options > Activate
    I cannot access the Ovi Store from the Nokia.mobi links on the phone.  Also, if I select a free app from the Nokia Ovi Suite Ovi Store and have it downloaded to my phone, I cannot access the link that is in the text message. I was able to select Ovi Store on my phone, search for the number in the text message and download the app.  I don't know if this will work with paid apps.

  • Terrible flagship problems, bluetooth and syncing

    Ok, this is getting a bit pants now..
    Firstly, everytime I connect my phone using the USB cable and start either Nokia Music or Ovi it syncs my music.. every track.. every time.. This is on a fresh install of XP SP3.. no other software at all..
    Nokia care ummed and errred for a while and "promised" to call back with a solution after trying to convince me that the problem was my tracks didn't have names (which they do.. and album art).. They leaped on the chance to blame my Mac running XP.. firstly, that's not a excuse.. a Mac booting XP is a PC.. secondly, I'm using a Dell, I never said I ran XP on my Mac.. 
    This cannot be normal! (the syncing problem, not the lack of support.. I've never had Nokia care solve a problem, but that goes for Apple too)
    Secondly, I have a pair of BH-905.. the flagship headphones.. noise cancelling, BT, very very nice (on paper)..  but..
    It is not accep.........tabletocutoutthenspeed up during playback. It does th..........isfartooregularly it is very dull.
    Next problem is the first call after turning the headphones on.. the microphone is mute.. You can hear the caller/other end, but they can't hear you. That's real handy, especially if the phone is in your bag.. you have to dig it out, press "activate handset" then "activate BT headset" to allow them to hear you
    Seriously, two flagship devices and they didn't test them together?!
    I've got to find a decent phone to test the headset. Since the N97 loves bugs, I suspect this is a failing in the phone..
    Maybe v20 will solve these problems. Seriously.. BT headset not working.. what year is this? 2001? Screwing up such a basic phone feature is as bad as I dunno playing the default ringtone randomly!! I jest, but still something is very wrong when the two flagship devices (Nokia billed the BH-905 as the best headset ever!) don't work properly.. shocking!!!
    Does anyone else have these problems with bluetooth headsets on the N97 or perhaps on other Nokia devices?
    How about syncing? I take it everyone here can sync only new tracks when they connect their phone?

    I am convinved there's something messed up with the N97's BT Audio stack.  I have the Blue & Me BT audio system in my Grande Punto and it worked perfectly with my N95, problematic on the iPhone when Apple messed something up in a firmware update but later fixed and worked fine, but the N97 struggles to connect automatically when I get in the car and turn on the ignition.  I have to either turn the N97 bluetooth off and back on again or manually connect the N97 to Blue & Me.
    I really am hoping that Nokia get it all fixed in 2.0.
    Nokia N8 on O2-UK
    Firmware 022.014

  • Problem in Class Loading

    I am using Sun implementation of JAXB(jaxb-api.jar) for java-to-xml binding in my web application deployed in the latest version of oracle app server(10g release 3). The web server is loading Oracle implementation of JAXB from the shared archive xml.jar. To direct the web server to load application specific JAXB classes, I have used the property(<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="false" />) in the deployment description - orion.xml file. But it does not solve the problem!
    Thanks & regards

    Hi,
    Refer to this link on OC4J's Classloading Framework... http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b14433/classload.htm#sthref58 there are a couple of options you may be able to employ, including overriding the shared library - there is an example of doing this with the Oracle XML parser and Xerces.
    I'm guessing you're on the right track, but you may want to try include-war-manifest-class-path="true". Also, are you sure that you've got your deployment descriptor file defined correctly? Its normally called orion-application.xml, and that particular element isn't defined in the documentation (http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b14433/descriptors.htm#sthref337). You could always try configuring it through the administration console.

  • Problem - different classes in a custom list

    Hi,
    Im making a school project and must use this List-class, written by some of our teachers.
    The problem is, the nodes in the list are type of Objects, and i must store multiple types of classes in the list.
    Storing works fine, but when i want to do something with a specific item in the list, i cannot use it's methods since its now type Object. So everytime I want to use it, i have to cast the Object back to the class it was originally, and there are like 20 of them so thats hell of a lot if-clauses to check which type must i cast it to, and thats in every place that does something with the list.
    Am I being extremely dumb here? Whats the proper way to do this?

    ju551 wrote:
    All the objects are kind of creatures that are inherited from the same abstract class.
    Hmm did i get this right now... So if i make that ancestor class into an interface, I can just cast them everytime to that class and when i call its (abstract) methods it will invoke the real methods in the subclasses?Ah, you don't need an interface in that case. You can just cast all instances to the base class and call the methods that are available there. The methods in the subclasses will be called if they are overridden.
    Kaj

  • Problem in class moving to next method

    thank you to all those who helped me with dealing with time in my Movie class. My other problem is I can't return the charges (val) once a movie is hired. I need my Movie class to output the following when applied to the TestMovie class.
    Movie MOV456 is hired to PC00034
    Movie MOV456 cannot be hired to PC10101
    Movie MOV456 is returned by PC00034
    Total Charges = 16.5
    Movie MOV456 cannot be hired to PC98456
    Movie MOV456 is hired to PC99999
    Movie: MOV456
    Description: The Fellowship of the ring
    Classification: PG
    Status: H
    Rate per day: 5.5
    Hirer=PC99999
    Date/time of hire: 2007/3/19 - 18:30
    Here is my Movie class:
    //CPT12 - Assignment2
    //Written by Suzanne Howarth, 88886, Tutor - Clemens Meyr
    //This is the class of an object orientated programme to manage the hiring of movies
    import java.util.*;
    import java.text.*;
    //Defined instance variables set to private
    public class Movie {
    //Defined constuctor for the Movie class
        public Movie(String movieID, String description, String classification, float dailyRate) {
            ID = movieID;
            this.description = description;
            this.classification = classification;
            status = 'A';
            this.dailyRate = dailyRate;       
             private String ID;
             private String description;
             private String classification;
             private float dailyRate;
             private char status;
             private String hirer;
             private String s;
             private GregorianCalendar dob;
             private GregorianCalendar d;
             private GregorianCalendar dC;
             private double val;
             private long daysHired;
             private long age;
             private boolean valid;
    //Defined accessors for the Movie class
        public String getID() {
            return ID;
        public String getDescription() {
            return description;
        public String getClassification() {
            return classification;
        public float getDailyRate() {
            return dailyRate;
        public char getStatus() {
            return status;
        public boolean hire(String hirerID, GregorianCalendar hirerDOB, GregorianCalendar dateTime) {
            hirer = hirerID;
            dob = hirerDOB;
            d = dateTime;
            boolean valid = false;
        if (status == 'A') {
                if (classification.equals("PG")) {
             valid = true;
            else {
             if (age<18) {
                valid = true;
        if (valid) {
         status = 'H';
        return valid;
        public String getHirer() {
            return hirer;
        public GregorianCalendar getDob() {
            return dob;
        public GregorianCalendar getD() {   
            return d;        
        public String getS() {
            Date date = d.getTime();
            DateFormat df = DateFormat.getDateTimeInstance();
            s = df.format(date);
            return s;
        public long getAge() {
            age = (d.getTimeInMillis() - dob.getTimeInMillis())/(365*24*60*60*1000);
            return age;
        public double hireComplete(GregorianCalendar date_time2) {
            dC = date_time2;
            if ((status == 'H') && (val > 0.0))
                return val;
            else
                return val = -1.0;
        public long getDaysHired() {
            daysHired = (dC.getTimeInMillis() - d.getTimeInMillis())/(24*60*60*1000);
            return daysHired;
        public GregorianCalendar getDC() {
            return dC;
        public double getVal() {
            val = daysHired * dailyRate;       
            return val;
        public void print() {  
            System.out.println("Movie ID - " + ID);
            System.out.println("Movie - " + description);
            System.out.println("Classification - " + classification);
            System.out.println("Status - " + status);
            System.out.println("Daily Rate - " + dailyRate);
            System.out.println("Hirer ID - " + hirer);
            System.out.println("Date and Time of hire - " + s);
    }and here is the MovieTest class:
    import java.util.GregorianCalendar;
    public class TestMovie
       public static void main(String args[])
          Movie mov = new Movie("MOV456", "The Fellowship of the ring", "PG", 5.50f);     
          String hirer1ID = "PC00034";     
          // GregorianCalendar date below correspond to 15th March 2007, 1.30 pm
          GregorianCalendar d1 = new GregorianCalendar(2007,3,15,13,30);
          GregorianCalendar dob1 = new GregorianCalendar(1989,01,22,15,15);
          if (mov.hire(hirer1ID, dob1, d1) == true)
             System.out.println("Movie " + mov.getID() + " is hired to " + mov.getHirer());  
          else
             System.out.println("Movie " + mov.getID() + " could not be hired to " + hirer1ID);
          // Another attempt to hire the movie (after the movie has already been hired)
          GregorianCalendar d2 = new GregorianCalendar(2007,3,15,15,30);
          GregorianCalendar dob2 = new GregorianCalendar(1989,12,20,10,12);
          String hirer2ID = "PC10101";
          if (mov.hire(hirer2ID, dob2, d2) == true)
             System.out.println("Movie " + mov.getID() + " is hired to " + mov.getHirer());  
          else
             System.out.println("Movie " + mov.getID() + " cannot be hired to " + hirer2ID);
          // Completing the hiring of the movie
          GregorianCalendar d1C = new GregorianCalendar(2007,3,18,10,30);
          double val = mov.hireComplete(d1C);
          if ( val > 0.0 )
             System.out.println("Movie " + mov.getID() + " is returned by " + mov.getHirer());  
             System.out.println("Total Charges = " + val);  
          Another attempt to hire the movie (after earlier hire is completed,
          but with hirer too young to hire a PG rated movie)
          GregorianCalendar d3 = new GregorianCalendar(2007,3,19,16,30);
          GregorianCalendar dob3 = new GregorianCalendar(1995,12,20,10,12);
          String hirer3ID = "PC98456";
          if (mov.hire(hirer3ID, dob3, d3) == true)
             System.out.println("Movie " + mov.getID() + " is hired to " + mov.getHirer());  
          else
             System.out.println("Movie " + mov.getID() + " cannot be hired to " + hirer3ID);
          // Hiring the movie with the correct age again        
          GregorianCalendar d4 = new GregorianCalendar(2007,3,19,18,30);
          GregorianCalendar dob4 = new GregorianCalendar(1985,12,20,10,12);
          String hirer4ID = "PC99999";
          if (mov.hire(hirer4ID, dob4, d4) == true)
             System.out.println("Movie " + mov.getID() + " is hired to " + mov.getHirer());  
          else
             System.out.println("Movie " + mov.getID() + " cannot be hired to " + hirer4ID);  
          // Printing the details of Movie object referred by mov  
          mov.print();          
    }The problem must be with how I coded my Movie class. It just won't output that the movie has been returned and the total charges.
    Any help would be very much appreciated.

    Do u mean to put it like this:
    //CPT12 - Assignment2
    //Written by Suzanne Howarth, 88886, Tutor - Clemens Meyr
    //This is the class of an object orientated programme to manage the hiring of movies
    import java.util.*;
    import java.text.*;
    //Defined instance variables set to private
    public class Movie {
    //Defined constuctor for the Movie class
        public Movie(String movieID, String description, String classification, float dailyRate) {
            ID = movieID;
            this.description = description;
            this.classification = classification;
            status = 'A';
            this.dailyRate = dailyRate;       
             private String ID;
             private String description;
             private String classification;
             private float dailyRate;
             private char status;
             private String hirer;
             private String s;
             private GregorianCalendar dob;
             private GregorianCalendar d;
             private GregorianCalendar dC;
             private double val;
             private long daysHired;
             private long age;
             private boolean valid;
    //Defined accessors for the Movie class
        public String getID() {
            return ID;
        public String getDescription() {
            return description;
        public String getClassification() {
            return classification;
        public float getDailyRate() {
            return dailyRate;
        public char getStatus() {
            return status;
        public boolean hire(String hirerID, GregorianCalendar hirerDOB, GregorianCalendar dateTime) {
            hirer = hirerID;
            dob = hirerDOB;
            d = dateTime;
            boolean valid = false;
        if (status == 'A') {
                if (classification.equals("PG")) {
             valid = true;
            else {
             if (age<18) {
                valid = true;
        if (valid) {
         status = 'H';
        return valid;
        public String getHirer() {
            return hirer;
        public GregorianCalendar getDob() {
            return dob;
        public GregorianCalendar getD() {   
            return d;        
        public String getS() {
            SimpleDateFormat formatter = new SimpleDateFormat("d");
            GregorianCalendar d = new GregorianCalendar();
            s = formatter.format(d.getTime());
            return s;
        public long getAge() {
            age = (d.getTimeInMillis() - dob.getTimeInMillis())/(365*24*60*60*1000);
            return age;
        public double hireComplete(GregorianCalendar date_time2) {
            dC = date_time2;
            if ((status == 'H') && (val > 0.0)) {
                val = daysHired * dailyRate;
                return val;
            else
                return val = -1.0;
        public long getDaysHired() {
            daysHired = (dC.getTimeInMillis() - d.getTimeInMillis())/(24*60*60*1000);
            return daysHired;
        public GregorianCalendar getDC() {
            return dC;
        public double getVal() {            
            return val;
        public void print() {  
            System.out.println("Movie ID - " + ID);
            System.out.println("Movie - " + description);
            System.out.println("Classification - " + classification);
            System.out.println("Status - " + status);
            System.out.println("Daily Rate - " + dailyRate);
            System.out.println("Hirer ID - " + hirer);
            System.out.println("Date and Time of hire - " + s);
    }I must be wrong because I am still not getting the desired output.

  • XML mapping inheritance problem; missing class indicator field

    Hi!
    I am currently working on a project which involves mapping a large domain model on a XSD schema. For this we use Toplink 10.1.3.1 which is mostly great. But now I have a problem while wanting to use class inheritance.
    In my XSD I have the following defined
    <xs:complexType name="Traject">
         <xs:sequence>
              <xs:element name="SoortTraject" type="SoortTraject"/>
         </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpecialTraject">
         <xs:complexContent>
              <xs:extension base="Traject">
                   <xs:sequence>
                                 [some elements] 
                   </xs:sequence>
              </xs:extension>
         </xs:complexContent>
    </xs:complexType>My XML is an implementation of this XSD and looks like this
    <Trajecten>
            <Traject xsi:type="SpecialTraject">
                     [implementation of the elements]
             </Traject>
    </Trajecten>My domain model corresponts to the XSD, so there is a Traject object and an inherited SpecialTraject object.
    In the mapping I used the Advanced properties->inheritance on both descriptors telling the Traject descriptor that it was the 'Root Parent Descriptor' ('Use class indicator field' -> 'use XML Schema Type attribute', 'Use class indicator dictionary') and the SpecialTraject what it Child Descriptor was ('Traject').
    When I test my mapping it always results in the same error (no matter how I configure this inheritance mapping). It says :
    [TOPLINK-44] missing class indicator field
    Descriptor: XMLDescriptor(Traject --> [])What am I doing wrong? Does anybody know a sollution?
    Best regards,
    Jouke Stoel
    Developer

    This is the changed XML descriptor file. When I deploy the file it automaticly overrides the old file so it ain't possible that I was still using the wrong file
    <toplink:class-indicator-mappings>
        <toplink:class-indicator-mapping>
            <toplink:class>Traject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">Traject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
        <toplink:class-indicator-mapping>
            <toplink:class>SpecialTraject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">SpecialTraject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
    </toplink:class-indicator-mappings>I have posted the stacktrace but I had to translate a bit because my exception was in Dutch :)
    Locale is a great invention
    Exception [TOPLINK-44] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
    Exception description: Missing class indicator field of database row [UnmarshalRecord()].
    Descriptor: XMLDescriptor(Traject --> [])
         at oracle.toplink.exceptions.DescriptorException.missingClassIndicatorField(DescriptorException.java:887)
         at oracle.toplink.internal.ox.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:84)
         at oracle.toplink.internal.ox.XMLRelationshipMappingNodeValue.processChild(XMLRelationshipMappingNodeValue.java:13)
         at oracle.toplink.internal.ox.XMLCompositeCollectionMappingNodeValue.startElement(XMLCompositeCollectionMappingNodeValue.java:62)
         at oracle.toplink.ox.record.UnmarshalRecord.startElement(UnmarshalRecord.java:352)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:189)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:147)
         at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:228)
    .

  • Problem accessing class in jar file

    Hello. I am trying to create a jar file from my already compiled classes. I have around 5 packages, and my programs' entry point is in one of the packages, we'll call package A. Each package has its own purpose and package A calls any needed package to perform their task. This works well when I compile, run and all. However, when I create a jar file, it only works with the local package and any calls to another package do not work. How can I get around this? any help will be appreciated

    This is the output..
    05/05/2010  10:19 AM        10,946,787 MYJAR.jar
                   1 File(s)     10,946,787 bytes
                   0 Dir(s)   1,434,251,264 bytes freeMy manifest file contains
    Manifest-Version: 1.0
    Class-Path: .
    Main-Class: Login.loginMain
    AndrewThompson64 wrote:Is the code [swallowing exceptions|http://pscode.org/javafaq.html#stacktrace] at any point?
    Nope..
    AndrewThompson64 wrote:
    How do you know that if there is absolutely no error output?The when I ran the code from my compiler, it has no errors, and it works smoothly. I have used a JAR for a single package program before and it worked well but this multiple package program is giving me the problem and I don't want to put all the files in a single package

  • Problem importing classes and beans

    Hey there. Im having one major fustrating problem! When I code supporting classes and beans for my JSPs I get a code 500 internal server error when trying to import (via <%@ page import="class" %> and <jsp:useBean/>) Im storing my classes and beans in the WEB-INF folder and the calling JSPs are located in /ROOT/tests/8/jsp.jsp. Im using the following to import a class or bean:
    <%@ import="aClass" %>
    Seen as tho its in the WEB-INF folder I won't have to explicitly refer to where the class is located, just the class name.
    I never had this problem when I was using my hosting service. Its only on my localhost server in which I get the Internal Server error.
    Help appreciated, thx.
    PS: Im quite new to JSP/Java Servlet.

    import (via <%@ page import="class" %> and
    <jsp:useBean/>) Im storing my classes and beans in the
    WEB-INF folder try put your class file in WEB-INF/classes.
    or first put bean in the package, like WEB-INF/classes/packagename/beanclass
    in jsp page:
    <jsp:useBean id="Mybean" class="packagename.beanclass" scope="request" />
    Question: is /ROOT a context entry in your server.xml?
    Which JSP Container (version) you use? Maybe your localhost server's set up is different with your hosting.

  • Problem: Bluetooth in OS X Lion

    I have a problem.
    Yesterday, I downloaded and installed OS X Lion in my Macbook Pro (2009). Everything is OK, except Bluetooth. I don't know the reason, but my computer doesn't recognize Bluetooth integrated in my Macbook Pro. What can i do?
    Thanks in advance.

    I've done:
    - Reset SMC.
    - Repair Disk Permissions.
    - Reset PRAM with keys (Cmd+Alt+P+R) doesn't work. I don't know the reason.
    But the problem remains. I've watched the section "System Information" in About my Mac, and the section "Bluetooth" is "not available", but my computer has bluetooth, in Snow Leopard was worked perfectly. It's really weird.
    So please... Someone can I help me with this problem?
    Thank you.
    (Sorry for my bad english level. I tried to explain my problem as best as possible).

  • Problem with Class.getResource()

    I am trying to load a jar file dynamicaly like,
    ClassLoader prevClassLoader = Thread.currentThread().getContextClassLoader();
    URLClassLoader m_ClassLoader = new URLClassLoader(new URL[] {new URL(sV1JarPath)}, prevClassLoader);
    But after doing this if I try to load a resource from the "prevClassLoader " like,
    MyClass.class.getResource("path"); where MyClass is loaded by prevClassLoader, it is not working. It fails to load the resource.
    Can anyone help me correct this issue?
    Thanks
    Unni

    try "/path".I am giving it like
    MyClass.class.getResource("images/" + name); where there is an images packages in side the package where MyClass resides.
    But here the problem is as MyClass is in the prevClassLoader and it is not able to find it when we call Class.getResource()

  • [APPLET][Heritage] Problem with classes

    Hi, I'm developping a simple JAVA Applet and I have a problem
    I have a class called LUIweb which is the main class. Here is a part of it.
    public class LUIweb extends JApplet implements Runnable {
    public void run() {
    DisplayMessage("JAVA rocks");
    public void DisplayMessage(String message){
    jtextArea.append(message);
    middlePanel.removeAll();
    middlePanel.add(textScrollPane, BorderLayout.CENTER);
    middlePanel.validate();
    middlePanel.repaint();
    It displays the message "JAVA rocks" in my JTextArea. But when another class from the same package calls DisplayMessage, nothing is displayed in my JTextArea
    public class Data_net extends LUIweb{
    public void Test(){
    DisplayMessage("NON");
    Have you got any idea to fix that?
    Thank you for you help

    OK,
    You are using a separate thread to update the gui. As swing is not multithread safe, this is not good. Anytime you want to change the gui, you must do it on the gui thread. This means without extra help, you should only change the gui from within a Listener, such as a MouseListener, KeyListener, etc, etc.
    In your case, you are updating the not from the gui thread (not from a Listener), and so you must ask the gui thread to do the work for you when it has time.
    This means you need to use SwingUtilities.invokeLater or SwingUtilities.invokeAndWait.
    Since the sequencing is important to you in your code, you should probably use invokeAndWait, such as
    public void run()
              SwingUtilities.invokeAndWait( new Runnable()
                     public void run() { DisplayMessage(Language.CONNECT_DB); }
              Data_net Donnee_net=new Data_net();          
              SwingUtilities.invokeAndWait( new Runnable()
                     public void run() { DisplayMessage("Connecting to "+Donnee_net.GetHost()+
                                                       " with user "+Donnee_net.GetUser()+"...\n");
              Donnee_net.Test();   

Maybe you are looking for

  • SQL Server Reporting Services - Access denied issue

    Hello All, My Environment : SCCM 2012 R2, SQL 2012 SP2 standard and Windows Server 2012 [VM box]. while configuring  reporting services get error the reporting service fails to start using the reporting service account. when i start the service on th

  • "Best Practice" steps for creating & preseving video quality

    I would like help in understanding the "rules of the trade" when it comes to video quality. I have been converting old VHS video tapes using my Sony DV camera...importing them into iMovie 6HD (mainly because I read that the quality is better in imovi

  • Multiple selection screen is blank in screen personas SP2..

    Hi, When i click on multiple selection button, in the next pop-up screen getting blank data. Unable to enter the values to execute the transaction. Please suggest.. Regards, Govind

  • Performance problem with query on bkpf table

    hi good morning all , i ahave a performance problem with a below query on bkpf table . SELECT bukrs            belnr            gjahr       FROM bkpf       INTO TABLE ist_bkpf_temp       WHERE budat IN s_budat. is ther any possibility to improve the

  • Can I revert back to Snow Leopard from Mountain Lyon ?

    Since updateing to Snow leopard my computer has become very slow.  The nice man at the White Cathedral said it was because of the age of my computer (bought 2007) and he wouldn't advice me to update to this level.  I now wish to revert back to Snow L