Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Is there somethign im missing with serialization

  1. #1
    Junior Member
    Join Date
    Aug 2021
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Is there somethign im missing with serialization

    Hi I have just made a new class

    package main;
     
    import java.awt.*;
     
    public class Window extends Canvas {
     
     
    }

    i want to serialize the window class but Intellj IDEA wont give me the option have been through the inspection panel and ticked the appropriate box

    am i missing something here???

    --- Update ---

    My god what a work up,

    Online solutions didnt work for me so installed a plugin specific to it and now can generate through the main code menu.

    now to figure out what the hell its all about anyway

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Is there somethign im missing with serialization

    Java SE has a Window class in the java.awt package.

    It is not a good idea to use the same name in your class.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Aug 2021
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Is there somethign im missing with serialization

    good point lots to learn with this stuff

Similar Threads

  1. Serialization
    By kickass in forum Java Theory & Questions
    Replies: 1
    Last Post: August 15th, 2014, 10:23 AM
  2. Serialization
    By kickass in forum What's Wrong With My Code?
    Replies: 0
    Last Post: August 15th, 2014, 10:01 AM
  3. JDBC vs Serialization
    By hafunui in forum Java Theory & Questions
    Replies: 2
    Last Post: May 1st, 2012, 05:02 PM
  4. DefaultTableModel Serialization
    By newbie in forum Java Theory & Questions
    Replies: 8
    Last Post: August 15th, 2011, 07:46 PM
  5. Sub class Serialization
    By Param in forum Java Theory & Questions
    Replies: 6
    Last Post: April 23rd, 2010, 02:04 AM