Problem of the day- Using objects w/Applets

###########Question ################
I am trying to use classes in conjunction with an
applet class. However, I am having problems with
passing a reference to a Graphics object in another class.
It seems that the abilities of an applet are confined to
the applet class itself. Any one with experience in this
field of Java, whom can help, would be greatly appreciated.
###########Exception message #########
(Partial message)
Exception occurred during event dispatching:
java.lang.NullPointerException
at java.applet.Applet.getCodeBase(Applet.java:106)
at Board.getBoardImage(Board.java:278)
at Board.paintBoard(Board.java:286)
###########Code ###################
(Partial code.
public class GameApplet extends JApplet{
ConnectFour connectFourGame;
/** Creates new Game */
/** Initializes the applet ConnectFour */
public void init() {
connectFourGame = new ConnectFour();
startGame();
public void destroy()
public void paint(Graphics g)
g.drawLine(50,60,150,160);
this.connectFourGame.paintABoard(g);
}

Try below at start of code
import java.awt.*;
import java.applet.*;

Similar Messages

  • How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • Problems with the packager using J2sdk 1.4.2

    Hi all,
    when I try to use the packager, I always get this message:
    C:\proc\cas\classes>packager cas.jar CasFrame
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    Die IDL-Datei konnte nicht erstellt werden..
    (The IDL couldn't be created)
    I did all the stuff released at the ActiveX developer guide on
    http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
    Has anyone an idea, how I can fix this?
    Might it be a problem, that I also use JBuilder 8.0 which ordinary uses Java 1.4.1?
    regards
    Tom

    Oh no, I tried to get a run for a whole day... now I got it. It was always a mistake in the CLASSPATH. Stupid :-)

  • Every time I close down after the days use when I open it again the main page is corrupt and I have to re-install the firefox again can I stop this happening

    When I open firefox first thing it opens but the home page is not working. So I have to re-install it. Then it is ok for the rest of the day but only to go down again the following day. What can I do to stop this happening? I use bt.com home page.

    1. Reset the Internet Browser settings. Taking the Internet Explorer for example.
    1). Close allInternet ExplorerandWindowsExplorer windows that are currently open. Open Internet Explorer by clicking theStartbutton. In the search box, typeInternet Explorer, and then, in the list of results, click Internet Explorer. Click theToolsbutton, and then click Internet options.
    2). Click the Advanced tab, and then click Reset. Select the Delete personal settingscheck box if you would also like to remove browsing history, search providers, Accelerators, home pages, Tracking Protection, andActive X Filtering data.
    3). In theResetInternet ExplorerSettings dialog box, clickReset. When Internet Explorer finishes applying default settings, click Close, and then click OK.
    4). CloseInternet Explorer.Your changes will take effect the next time you openInternet Explorer.
    2. Reset homepage as bt.com again.
    3. clear out all cokkies and browsing history.

  • Forms performance problem on the web, using webutil.

    When starting the webutil-demoform on the Application Server,
    webutils eight javabeans is loaded in 1 second.
    I'm using &WebUtilLogging=Console&WebUtilLoggingDetail=Detailed for logging this.
    When starting the same form from client the beans is loaded in ~30-40seconds.
    Any suggestions to figure out why?

    Problem solved!
    Don't use the IP-address in the URL, use hostname or add an entry in your hostfile on the client. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063
    Metalink
    Note:402180.1 Initial Loading of Webutil Forms Are Slow
    Note 356190.1 Performance Problems in Forms with Webutil 1.0.6 for Intranet Web Clients

  • New Project - New Problems or The day the Reaper died

    Ok, this is more like telling a story than a cry for help.
    The story is about a new project, new (great) results and the disaster that followed.
    Well story starts October 21st with me upgrading rig 1 with new parts. They came for my Opteron165 setup which oc'ed nicely but didn't make it far enough. So board, cpu and ram of rig 1 (sig) got replaced by the following parts:
    The new cpu is an Athlon X2 5200+ EE (TDP 65W), 2.6ghz, 2x 1024kb L2 cache, 90nm, F3 stepping.
    The board is from MSI (of course), a K9N SLi Platinum. Very nice board and luckily it is PCB version 1.2 which features a heatpipe while the older version just had a very bad cooling, passive aluminium heat sink. The older version is the one still to be seen on MSI product site.
    The new one looks therefor way better and stays cooler:
    In addition I threw a pair of the finest ddr2 ram in it. A 2gb dual channel kit of OCZs new DDR2 PC2-6400 Reaper CL3 Edition. DDR2-800 with 3-4-4-15 (stock), guranteed to work with 2.3volts.
    So suppositions for oc were great and I started:
    First of all upgraded the bios from 1.8 to the latest 1.10. Then I thought why go step by step, why not starting big. So I set HT clock to 250mhz, resulting in a cpu clock of 3250mhz (multi 13), Hyper transport link set to 800mhz (x4), ram very relaxed (divider 667, 5-5-5-15 2T). It didn't post but I thought solution is easy, forgot to set extra voltage for cpu. Next try at 3250 mhz with 1.25v and set 0.1v extra in bios. It didn't post. I set voltage to maximum but no luck. Tried again but this time I lowered the HT link to 600mhz (x3). Now it posted even with 1v extra and it also booted XP but seemed to be not very stable. So set extra voltage to 0.15v which enhanced stability greatly.
    After minor driver problems my old XP installation worked pretty perfectly with the new setup. Time had come to see if it was stable and I started Orthos. It seemed to be ok, 1hour no problems, 2hours, 3hours and bam... 3hours 40 minutes and that's it. I thought "Damn, but it will make it with more voltage". I added more voltage (0.2v extra) and started Orthos again but no way, at 4hours 32 minutes it stopped again.   
    I'm not easy to discourage and so I added 0.25v to the 1.25v vcore and tried another time. Still 250x13 = 3250mhz.
    And it worked!
    Orthos now easiely worked six hours when I stopped it myself to see if it would also be stable with more intensed ram settings. I set ram divider to 800mhz (1:1) resulting in DDR2-929 and timings to 4-4-4-15 2T.
    I started Orthos and left the machine alone... Outstanding 16 hours later it was still working!
    After 17hours 5 minutes and 50 seconds of running Orthos I knew I had a stable beast!
    It also worked with ram set to divider 667 (resulting in 406mhz or ddr2-812) and 3-4-4-15 2T. However 1T was a real killer, thats why I left command rate at 2T and were happy so far.
    Performance was really good and I wanted to know if this would increase my 3dmark06 results which were already great with old setup because of nicely oc'ed 8800GTS 320. The opteron could do 9572 3dmarks with it.
    The new setup easiely broke the 10.000 points by reaching 10306 points with cpu at 3250mhz, ram at ddr2-929 (4-4-4-15 2T), vga as seen in sig.
    It really seemed to be finished. The rest would be just playing around and going for suicide clocks. At least that was what I thought at that time.
    Before maxing it out I wanted to have the Vista 64 Ultimate installation also running with the new setup. I hadn't booted vista since upgrading to the am2 system, so I tried for the first time....
    AND NOW EVERYTHING GOT F***** UP
    Vista welcomed me with a blue screen instead of a logon screen. I was pi**** but aware it might not like changing from NForce4 SLi to NForce 570 SLI. Next step was trying safe mode but vista thought of blue mode and showed a screen of that colour. I thought "ok, maybe you dislike setup change" and so I went for a clean install. I even formated the partition and gave it a go. Installation was fine 'til first start. Well, it wasn't a start to be honest as vista told me it was not able to do this. Repair wasn't successful either.
    Assumption was now system is not making the oc clocks although proved to be stable under XP. So I removed any oc and loaded fail-safe mode in bios. Relaxed ram timings to 5-5-5-18. I started installing vista again, thought I could oc again when it is installed.
    Oh boy, how wrong I were...  The 2nd installation turned out to be as faulty as the first and I tried again and again... After installation failed nine times I were finally discouraged.
    I just wanted to boot XP for now, forget about installing vista and maybe ask here if it this was a known issue.
    Well, I didn't get to see XP. I was just informed about a missing file that also prevented to boot safe mode. I took my XP cd and started automatic repair. After this was nearly finished the first errors and notifications about unknown, missing or corrupted files appeared. Although XP made it to finish install and booted successfully. But this XP wasn't a real XP as many things didn't work. I couldn't install drivers because loads of errors and crc crap made working with it impossible. Clear install time! But no way, same issues like seen in vista.
    Now I were pretty desperate and I urgently needed an idea.  I came to the solution maybe I could try with single channel, using just one mem stick. I removed one and tried installing XP again. It worked without any issue. Even driver installation and other software worked without a problem. Now I were even able to install Vista.
    But still I didn't know what caused all the trouble. I had three suspects: Mobo, ram, cpu. I doubted in faulty board but cpu (failing to control dual channel) or the ram stick I removed were my favorites. As it was the easiest to try I put the other stick back in but used a slot combination that would cause single channel.  Booting Vista now turned out to be a disaster. Errors, corrupt files and so on. Same with XP.
    Conclusion: Dual channel is not the problem. Added mem stick was now suspect no.1. I took the first one out and started memtest. Memtest didn't show errors after 8hours. I wondered and started Vista. Result was the same as seen before with two sticks. Errors and access violations. Replaced this stick with the other one and everything was fine again.
    Next day I tried with a borrowed MDT 2gb dual channel kit which also worked without a problem. 
    Sad but true one of the Reapers is K.I.A. . Damn....
    Now I'm sitting here with a borrowed kit of value ram which luckily allows me to let the cpu run at 3250mhz with mem divider at 667mhz (result: 406mhz) and which I can luckily keep 'til I get another kit of Reapers. I have to send my current Reapers back to vendor these days and wait for the rma process and wait and wait....
    So what started greatly ended not so great. For now I'm sick and tired of seeing bios screens or installing windows and I'm also pretty pi**** because of all the data I lost. Some crucial ones among them.
    Main problem remains: I have no idea WHY the Reaper died. I never set any higher vdimm than 2.3v what should be ok for it. It never felt hot and was directly in the main airflow. Also I have no clue why memtest didn't find any error with the faulty stick.

    Quote from: flobelix on 30-October-07, 06:12:31
    Be aware that you have to keep an eye on shader clocks when oc'ing the gpu. With common tools you're oc'ing gpu and shaders at the same time. Since I'm suspecting a misproportion of gpu/shader clocks to be one of the reasons for problems with factory oc'ed Geforce 8 you should try with different combinations. With the latest Riva Tuner you can change 'em seperately without having to mod the bios.
    Memory is at it's end I suppose, that's the problem with most high end cards, no potential. Seems as you have to live with that.
    That's true for HD2900 series I think but as far as I know 8800GTX needs it even for stable working.
    Could be your psu is too weak, maybe really time for the new Corsair. On the other hand should be strong enough I guess.
    You're ungrateful! That good old 3500+ oc'ed so well and was once a real performer and you call him crap.... bad boy.
    "You're ungrateful! That good old 3500+ oc'ed so well and was once a real performer and you call him crap.... bad boy. "
    yes you are right the CPU perform great, but its just old..(is not CPU fault in direct sense )
    "Be aware that you have to keep an eye on shader clocks when oc'ing the gpu. With common tools you're oc'ing gpu and shaders at the same time. Since I'm suspecting a misproportion of gpu/shader clocks to be one of the reasons for problems with factory oc'ed Geforce 8 you should try with different combinations. With the latest Riva Tuner you can change 'em seperately without having to mod the bios."
    Yes im aware about it, but not this is the case.. i got instability even with 2Mhz on the GD more...SD remain @ stock 1350 and memory stock as well.. and go instability...
    Reversed story if i put everythink is stock, but +2Mhz more on the memory i got the same instability....
    "With the latest Riva Tuner you can change 'em separately without having to mod the bios."
    hmm nope here, its locked increasing GD clock inscrease SD clock as well. they are locked and increased in parallel.(etc, both in same time)
    "Memory is at it's end I suppose, that's the problem with most high end cards, no potential. Seems as you have to live with that."
    mem. chips used are for 1000Mhz the VGA stock, MSI is not OCed them.. so they must have potencial.. also VGA is adverted with DOT... at least its designed to handle till 5-6% OC, i have done few review(don't trust much here,but anyway its an info) and user opinion no problem to OC till 2100Mhz(1050). So i doubt that is memory problem.
    "Could be your psu is too weak, maybe really time for the new Corsair. On the other hand should be strong enough I guess."
    Yes that is the only conclusion which i can stuck at the moment... Good news is that i have talked with distributor today and they ensured me that will delivered tomorow for me. So tomorow i will know more about that mistery when i install the more powerful(and hope so great) PSU.

  • Problems with the scaling using  a tachometer

    Hi all,
    I have the following problem: i have a query that shows me a % of Card make in one day, i need to fix the scaling from 0% to 100% but it always get fixed automatic. I go to edit the Axis and then i set Minimum Value = 0 and Minimum  Calculation = user Defined and Maximum Value = 100 and Maximum Calculation = user Defined but it always get fixed with automatic scaling. What can i do?
    Thanks a lot
    PS: I´ll wait for the response and then i´ll give some starts !!!
    Regards,
    Roberth

    Hi Roberth,
    Please check out OSS note 959964 - Chart: User-defined values of axis range are ignored. We were facing the same issue and this note fixed it for us.
    Symptom
    The axis range of the chart ignores the user-defined settings. Instead it uses the automatic calculation of the axis range.
    Other terms
    Minimum Maximum calculation gfwchart xmlchart chart engine
    Reason and Prerequisites
    You use SAPGUI 6.40 >= patch 18 and an IGS 6.40.
    Solution
    Please install IGS 6.40 >= patch 16.
    Hope this helps...

  • Oracle 11 driver causes problem in the day when the daylight saving starts

    Hi everybody,
    I'm facing a really weird problem with daylight saving stuff. So, let me explain:
    I have a table where stores some personal data, which one of the columns is a birth date.
    On this column there is a constraint like: TRUNC(BIRTHDATE) == BIRTHDATE to ensure that the is the same always.
    Now the problem starts:
    When a person is born when the daylight saving starts (+1 hour) (e.g: Belgium 22/04/1930) in our Java application
    that date is described like: Sun Apr 22 00:00:00 CEST 1923
    When the application tries to insert data into the table, it gets a constraint violation exception.
    The configuration I'm using:
    - JDK 6_0_21
    - Oracle driver: 11.2.0.1.0 (ojdbc6.jar)
    - Oracle database: 10.2.0.4.0
    Now the weird part: When I change back to the previous Oracle driver version (10.X), it works perfectly. I've seen this FAQ:
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#08_01
    and tried both solutions: Set the mapDateToTimestamp property and change from DATE to TIMESTAMP type in the table. Unfortunately, both don't
    work.
    Anybody has an idea how to solve that? (Change back to the previous version is not an option for us, since we had transactional problems with it)
    Cheers,
    Bruno

    You might want to post on ODBC

  • How to find out the most used objects and rarely used objects?

    Hello all,
                  Can somebody please guide me on the procedure to separate frequently used transactions or reports or tables from rarely used ones on the production server?
    Is there any special transaction to find this out?
    hope to hear from you soon.
    Thanks,
    me

    The SAP standard doesn´t provide such a functionality. There is, however, a product called "RBE" (Reverse Business Engineer) which is part of the Solution Manager (ST-SEP). It must be licensed separately.
    Check
    https://service.sap.com/~sapdownload/011000358700000052162007E
    Markus

  • HT1535 All of my books on my ipad are not backing up to itunes on my computer, this is a new problem.  The backup used to capture everything.  How do I fix this?

    I have 130 books on my ipad but only 95 in itunes.  I'm running the most current version of itunes.  I used to be able to just do a backup to my computer and it would capture everything but now it's not doing it.  How do I get all of my books backed up to my itunes on my computer (windows laptop).

    Welcome to the Apple Community.
    You can't seperate your account, if you want things seperate you need to use seperate accounts.

  • Maintain the variants for the deletion progError while using object W_SOR

    Dear Experts ,
    While running the archival using object W_SOR , I am getting the error " Maintain the variants for the deletion program first"
    I have checked Customizing -> Archiving Object-Specific Customizing: Technical Settings) , In that std variants already exist .
    Please tell me what is the setting that could be missing .
    I am not getting the same error  in development client , but getting it in the production client .
    Is there anything else to be done ?
    regards
    Anis

    tcode OMBT..
    click on display groups (F5) & select the check box wich includes WA (the Number Range Object Material document Grouping)
    copy the entry for 2005, but do not assign any current number.

  • Problem in event handling using oo abap code

    Hi,
    My requirement is i need to disply 3 blocks in ALV format.I have done that.Now my problem is if i double click on aufnr of the first block, it should call the transaction code. I have written the code in oo abap but i have used function modules for ALV.Now my doubt is 'How to write an event  once the user double click on the particular field of the first block, it should call the tcode " using object oriented code.
    How to populate the heading for each block using oo abap code.
    Thanks & Regards
    Anus

    hi.....
    Use Double_click event handler method of class cl_gui_alv_grid of first block....
    if not solved .
    Send me Your program lines ...........
    Best Regards
    Prabhakar

  • Mozilla Firefox problems with the forums

    I just spent an hour trying to access the forums when using Firefox 12. It does not display the bar with the New Your Stuff history etc. It updated itself yesterday or the day before and since then it is impossible to use on this forum.
    I just had a thought and tried IE9 64 bit and it works OK. Loaded the same url on Firefox and the bar with the welcome username was not there.
    It shows that I am logged in under the search box but still asks for me to log in. I even contacted Customer support, but they could not help.
    So if you have problems accessing the forum, use a different browser.

    I tried to log in on the page and it would not accept my password as I was already logged in to Adobe. A new password made no difference, it still would not accept the password and username. Logging in with IE9 was no problem.
    Normally when I click on the adobe forums link on the Dreamweaver help  I am sent to http://forums.adobe.com/community/dreamweaver?lang=en_US  on my default browser - Mozilla. For some days now I have not been sent there, but arrive on the Adobe main page, and have to search for the forums using their search feature. Perhaps there was a crossed or broken link?
    However, today for the first time for a while, it seems to be all working fine. I did report the problem to Mozilla, but whether they did anything I do not know at the moment.
    I will see if this continues to work properly and report back.
    Best wishes
    Howard

  • How to change the day and time seen on the calendar

    Hi.
    I am a bit confused as to how to restrict the day and time shown on a calendar.
    The ical help says this:
    To change the days of the week or the number of hours that appear in the main calendar view, choose iCal > Preferences, and make your choices from the Week and Day pop-up menus in the General pane. For example, you can choose to only see the hours from 9AM to 5PM on Monday through Friday.
    However, in my preferences pane, i don't have a either a week or day pop up menu that i can see, so i can't seem to restrict these fields. It's really frustrating as calendars are beginning at 1am!!!!
    Anybody got any ideas?
    Thanks
    David Tobin

    OK, but what did the help menu mean when it said..
    To view the day's, week's, or month's events, click the Day, Week, or Month button at the bottom of the iCal window.
    To change the days of the week or the number of hours that appear in the main calendar view, choose iCal > Preferences, and make your choices from the Week and Day pop-up menus in the General pane. For example, you can choose to only see the hours from 9AM to 5PM on Monday through Friday.
    To change which months are shown in the mini-month calendar (in the lower-left corner of the iCal window), click the arrows above the mini-month calendar. To see more than one month, drag the mini-month divider (the horizontal gray bar above the diamond) upward.
    To see events that are earlier or later in the day, use the scroll bar on the right side of the main calendar view.
    To change the range of time in the main calendar view that is not shaded (representing your "normal" day), choose iCal > Preferences. In the General pane, choose the times you want to appear in white (not shaded) from the "Day starts at" and "Day ends at" pop-up menus. All times outside that range are shaded.
    This suggests that you should be able to limit the hours actually shown on the calendar to a set range as opposed to just changing the shaded area.
    Have you any idea how to achieve this, as i don't see the popup menu suggested with...
    To change the days of the week or the number of hours that appear in the main calendar view, choose iCal > Preferences, and make your choices from the Week and Day pop-up menus in the General pane. For example, you can choose to only see the hours from 9AM to 5PM on Monday through Friday.
    I am confused!!
    Any other ideas?
    David Tobin

  • Premiere Pro CS4 - Problem with the monitor program.

    Hi. I'm not able solving problems with the monitor using PremiereProCS4. When I drag a photo (also only one photo) in the timeline and play it in the monitor program, vision in the monitor program doesn't run:black monitor or a little part of the photo appear... sometimes distort colours. Asus P5QPRO, Intel 9550 and Sparkle Nvidia GeForce 9800 GTX+ 1024 DDR3; last gpu driver and directX are installed. Different configuration of stratch disks were tested. Where am I wrong?

    Dear Bill,
    thanks for your answer and your article. I tried with your NTSC 4:3 720x480 PAR 0.9 and, "magically", no more problem!!! I used the script pocedure in Photoshop CS4 to resize my images. Now, before starting my workflow and hoping not to overuse your patience, I would like to indicate you my equipment and my target: I use a Canon Eos 7D (generally for still images, 90% are vertical, and just some videos) and I use Premiere Pro CS4 to burn a dvd (normal, 4.7 Gb or double side, more than 8 Gb) with a 16.9 lcd tv (I'm Italian); my camera save as .jpg and .raw (but why use heavy .raw files if I've to redute to 720x480?!??).
    So, according to your "everyone wants the highest quality that they can obtain when doing theri videos..." and "your video project may vary, so you will need to plug in the dimensions for YOUR video project in that case", I've a question: which is the best for me?
    And then:
    1 - Premiere Pro CS4 havn't a batch or a script procedure for still image like PS (only for videos)!?!
    2 - Premiere does'nt allow you to import images like 4.181 Kb (a too large dimension file error appears)!
    3 - In the timeline of Premiere, after you dragged images, you can select them and right click to perform "resize to frame size": it seems to run good without problem, but what appen to the photo? Which is it's pixel?
    4 - In the general preferences of Premiere you can to optimize rendering for "memory" or not: which is the best for you?
    5 - I attached file with a screen of something strange in Premiere: dragging an image (the first of the project) in the timeline, the timeline appears distort (you can see the part in the yellow square): then, when I render the project and play in the monitor program, it becames normal.
    Thanks!

Maybe you are looking for

  • (MacBook / No FireWire) What are people here going to do down the line ?

    I hope not to turn this into a rant about the new MacBooks. Rather I just wanted the musicians side of things... I know that there is lots of talk in the MacBook forums about the new MacBook's lack of FireWire but as a fellow musician I was hoping to

  • Append messages with out header tag " ?xml version="1.0" encoding="UTF-8"?

    Hi all, I am doing file to file scenario.When I use APPEND in the File adapter it is also adding <?xml version="1.0" encoding="UTF-8" ?> I need to send a file for every 10 minutes consolidate all files and send at the end of the day. <?xml version="1

  • How do I name a group of photos in new Photos app?

    I have always used the Batch Change command in iPhoto to rename several photos of the same subject all at once, so I can easily locate them later. This command has disappeared. Is there some kind of workaround?  I really really need this feature, or

  • Process Modelling in BPM 11g

    Hi Everyone, I need to design onboarding employee process. So for every department I am planning to design separate process and a overall parent process and planning to communicate via send/receive task between parent and child. So when i have multip

  • Handle special characters in xml

    Hi,   Our end users tend to copy the description text from Word documents to pdf form and submits it. If that text contains any special characters, its getting carried to the extracted xml. In the next step, when I try to assign a task to user with t