Showing the changes to java/pkg2/java/awt (152 of 18352 files). Show all
Unified · Split
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,5 @@ | ||
| 1 | + | |
| 2 | +package java.awt; | |
| 3 | + | |
| 4 | +public interface ActionInputPreferred { | |
| 5 | +} | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,5 @@ | ||
| 1 | + | |
| 2 | +package java.awt; | |
| 3 | + | |
| 4 | +public interface KeyboardInputPreferred { | |
| 5 | +} | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,95 @@ | ||
| 1 | +package java.awt; | |
| 2 | + | |
| 3 | +import java.awt.*; | |
| 4 | + | |
| 5 | +public class Misc { | |
| 6 | + | |
| 7 | + public static void drawDisabledString(String label,int x,int y,Graphics g) | |
| 8 | + { | |
| 9 | + Color c=g.getColor(); | |
| 10 | + g.setColor(SystemColor.controlLtHighlight); | |
| 11 | + g.drawString(label,x+1,y+1); | |
| 12 | + g.setColor(SystemColor.controlShadow); | |
| 13 | + g.drawString(label,x,y); | |
| 14 | + g.setColor(c); | |
| 15 | + } | |
| 16 | + | |
| 17 | + public static void fill3DRect(int x,int y,int width,int height,boolean raised,Graphics g) | |
| 18 | + { | |
| 19 | + fill3DRect(new Rectangle(x,y,width,height),raised,g); | |
| 20 | + } | |
| 21 | + | |
| 22 | + public static void fill3DRect(Rectangle area,boolean raised,Graphics g) | |
| 23 | + { | |
| 24 | + int left=area.x; | |
| 25 | + int top=area.y; | |
| 26 | + int bottom=top+area.height-1; | |
| 27 | + int right=left+area.width-1; | |
| 28 | + | |
| 29 | + Color c=g.getColor(); | |
| 30 | + | |
| 31 | + g.setColor(raised?SystemColor.controlLtHighlight:SystemColor.controlShadow); | |
| 32 | + | |
| 33 | + g.drawLine(left,top,right-1,top); | |
| 34 | + g.drawLine(left,top+1,left,bottom); | |
| 35 | + | |
| 36 | + g.setColor(raised?SystemColor.controlShadow:SystemColor.controlLtHighlight); | |
| 37 | + | |
| 38 | + g.drawLine(right,bottom,right,top); | |
| 39 | + g.drawLine(right-1,bottom,left+1,bottom); | |
| 40 | + | |
| 41 | + g.setColor(c); | |
| 42 | + | |
| 43 | + g.fillRect(left+1,top+1,area.width-2,area.height-2); | |
| 44 | + | |
| 45 | + } | |
| 46 | + | |
| 47 | + | |
| 48 | + public static void Draw3DArea(int x,int y,int width,int height,Graphics g) | |
| 49 | + { | |
| 50 | + Draw3DArea(new Rectangle(x,y,width,height),g); | |
| 51 | + } | |
| 52 | + | |
| 53 | + public static void Draw3DArea(Rectangle area,Graphics g) | |
| 54 | + { | |
| 55 | + int left=area.x; | |
| 56 | + int top=area.y; | |
| 57 | + int bottom=top+area.height-1; | |
| 58 | + int right=left+area.width-1; | |
| 59 | + | |
| 60 | + g.setColor(SystemColor.controlHighlight); | |
| 61 | + g.drawLine(left,top,left,bottom-1); | |
| 62 | + g.drawLine(left,top,right-1,top); | |
| 63 | + | |
| 64 | + g.setColor(SystemColor.controlLtHighlight); | |
| 65 | + g.drawLine(left+1, top+1, right-2, top+1); | |
| 66 | + g.drawLine(left+1, top+2, left+1, bottom-2); | |
| 67 | + | |
| 68 | + g.setColor(SystemColor.controlShadow); | |
| 69 | + g.drawLine(right-1, top+1, right-1, bottom-1); | |
| 70 | + g.drawLine(left+1, bottom-1, right-1, bottom-1); | |
| 71 | + | |
| 72 | + g.setColor(SystemColor.controlDkShadow); | |
| 73 | + g.drawLine(right, top, right, bottom); | |
| 74 | + g.drawLine(left, bottom, right, bottom); | |
| 75 | + | |
| 76 | + | |
| 77 | + } | |
| 78 | + | |
| 79 | + | |
| 80 | + public static void drawTick(Graphics g,int x,int y,int boxsize) | |
| 81 | + | |
| 82 | + { | |
| 83 | + int tickWidth=(boxsize-4)/3; | |
| 84 | + for (int off=0;off<tickWidth;off++) | |
| 85 | + { | |
| 86 | + g.drawLine(x+3,y+boxsize-3-tickWidth-off,x+tickWidth+2,y+boxsize-4-off); | |
| 87 | + g.drawLine(x+tickWidth+3,y+boxsize-5-off,x+boxsize-4,y+tickWidth+2-off); | |
| 88 | + } | |
| 89 | + } | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | +} | |
| 95 | + | |
| @@ -0,0 +1,5 @@ | ||
| 1 | + | |
| 2 | +package java.awt; | |
| 3 | + | |
| 4 | +public interface NoInputPreferred { | |
| 5 | +} | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,5 @@ | ||
| 1 | + | |
| 2 | +package java.awt; | |
| 3 | + | |
| 4 | +public interface PositionalInputPreferred { | |
| 5 | +} | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,17 @@ | ||
| 1 | +<../../../../../mkconfig | |
| 2 | + | |
| 3 | +TARG=\ | |
| 4 | + Clipboard.dis\ | |
| 5 | + ClipboardOwner.dis\ | |
| 6 | + DataFlavor.dis\ | |
| 7 | + StringSelection.dis\ | |
| 8 | + Transferable.dis\ | |
| 9 | +# for UnsupportedFlavorException.dis\ | |
| 10 | + XJ67lvo7CEuYBAk8ihSb4.dis\ | |
| 11 | + | |
| 12 | +DISBIN=$ROOT/java/dis/java/java/awt/datatransfer | |
| 13 | + | |
| 14 | +<$ROOT/mkfiles/mkjava | |
| 15 | + | |
| 16 | +XJ67lvo7CEuYBAk8ihSb4.dis: UnsupportedFlavorException.class | |
| 17 | + j2d $prereq | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,37 @@ | ||
| 1 | +<../../../../../mkconfig | |
| 2 | + | |
| 3 | +TARG=\ | |
| 4 | + ActionEvent.dis\ | |
| 5 | + ActionListener.dis\ | |
| 6 | + AdjustmentEvent.dis\ | |
| 7 | + AdjustmentListener.dis\ | |
| 8 | + ComponentAdapter.dis\ | |
| 9 | + ComponentEvent.dis\ | |
| 10 | + ComponentListener.dis\ | |
| 11 | + ContainerAdapter.dis\ | |
| 12 | + ContainerEvent.dis\ | |
| 13 | + ContainerListener.dis\ | |
| 14 | + FocusAdapter.dis\ | |
| 15 | + FocusEvent.dis\ | |
| 16 | + FocusListener.dis\ | |
| 17 | + InputEvent.dis\ | |
| 18 | + ItemEvent.dis\ | |
| 19 | + ItemListener.dis\ | |
| 20 | + KeyAdapter.dis\ | |
| 21 | + KeyEvent.dis\ | |
| 22 | + KeyListener.dis\ | |
| 23 | + MouseAdapter.dis\ | |
| 24 | + MouseEvent.dis\ | |
| 25 | + MouseListener.dis\ | |
| 26 | + MouseMotionAdapter.dis\ | |
| 27 | + MouseMotionListener.dis\ | |
| 28 | + PaintEvent.dis\ | |
| 29 | + TextEvent.dis\ | |
| 30 | + TextListener.dis\ | |
| 31 | + WindowAdapter.dis\ | |
| 32 | + WindowEvent.dis\ | |
| 33 | + WindowListener.dis\ | |
| 34 | + | |
| 35 | +DISBIN=$ROOT/java/dis/java/java/awt/event | |
| 36 | + | |
| 37 | +<$ROOT/mkfiles/mkjava | |
Empty file added.
Empty file added.
| @@ -0,0 +1,49 @@ | ||
| 1 | +implement ColorModel_L; | |
| 2 | + | |
| 3 | +# javal v1.4 generated file: edit with care | |
| 4 | + | |
| 5 | +include "jni.m"; | |
| 6 | + jni : JNI; | |
| 7 | + ClassModule, | |
| 8 | + JString, | |
| 9 | + JArray, | |
| 10 | + JArrayI, | |
| 11 | + JArrayC, | |
| 12 | + JArrayB, | |
| 13 | + JArrayS, | |
| 14 | + JArrayJ, | |
| 15 | + JArrayF, | |
| 16 | + JArrayD, | |
| 17 | + JArrayZ, | |
| 18 | + JArrayJObject, | |
| 19 | + JArrayJClass, | |
| 20 | + JArrayJString, | |
| 21 | + JClass, | |
| 22 | + JThread, | |
| 23 | + JObject : import jni; | |
| 24 | + | |
| 25 | +#>> extra pre includes here | |
| 26 | + | |
| 27 | +include "java/lang/ClassLoader_L.m"; | |
| 28 | + | |
| 29 | +#<< | |
| 30 | + | |
| 31 | +include "ColorModel_L.m"; | |
| 32 | + | |
| 33 | +#>> extra post includes here | |
| 34 | + | |
| 35 | +#<< | |
| 36 | + | |
| 37 | +init( jni_p : JNI ) | |
| 38 | +{ | |
| 39 | + # save java native inteface mod instance | |
| 40 | + jni = jni_p; | |
| 41 | + #>>extra initialization here | |
| 42 | + #<< | |
| 43 | +} | |
| 44 | + | |
| 45 | +deletepData_V( this : ref ColorModel_obj) | |
| 46 | +{#>> | |
| 47 | + this.pData = 0; | |
| 48 | +}#<< | |
| 49 | + | |
| @@ -0,0 +1,15 @@ | ||
| 1 | +# javal v1.4 generated file: edit with care | |
| 2 | + | |
| 3 | +ColorModel_L : module | |
| 4 | +{ | |
| 5 | + ColorModel_obj : adt | |
| 6 | + { | |
| 7 | + cl_mod : ClassModule; | |
| 8 | + pData : int; | |
| 9 | + pixel_bits : int; | |
| 10 | + }; | |
| 11 | + | |
| 12 | + init : fn( jni_p : JNI ); | |
| 13 | + deletepData_V : fn( this : ref ColorModel_obj); | |
| 14 | + | |
| 15 | +}; | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,46 @@ | ||
| 1 | +<../../../../../mkconfig | |
| 2 | + | |
| 3 | +TARG=\ | |
| 4 | +# for AreaAveragingScaleFilter.dis\ | |
| 5 | + CEw7djK-zeE4-ezmJIAZ+.dis\ | |
| 6 | + ColorModel.dis\ | |
| 7 | + CropImageFilter.dis\ | |
| 8 | + DirectColorModel.dis\ | |
| 9 | + FilteredImageSource.dis\ | |
| 10 | + ImageConsumer.dis\ | |
| 11 | + ImageFilter.dis\ | |
| 12 | + ImageObserver.dis\ | |
| 13 | + ImageProducer.dis\ | |
| 14 | + IndexColorModel.dis\ | |
| 15 | + MemoryImageSource.dis\ | |
| 16 | + PixelGrabber.dis\ | |
| 17 | + RGBImageFilter.dis\ | |
| 18 | + ReplicateScaleFilter.dis\ | |
| 19 | +# Limbo code\ | |
| 20 | + ColorModel_L.dis\ | |
| 21 | + | |
| 22 | +MODULES=\ | |
| 23 | + $ROOT/java/module/classloader.m\ | |
| 24 | + $ROOT/java/module/jni.m\ | |
| 25 | + $ROOT/java/module/cast.m\ | |
| 26 | + ColorModel_L.m\ | |
| 27 | + | |
| 28 | +SYSMODULES=\ | |
| 29 | + draw.m\ | |
| 30 | + hash.m\ | |
| 31 | + keyring.m\ | |
| 32 | + loader.m\ | |
| 33 | + math.m\ | |
| 34 | + string.m\ | |
| 35 | + sys.m\ | |
| 36 | + | |
| 37 | +DISBIN=$ROOT/java/dis/java/java/awt/image | |
| 38 | + | |
| 39 | +<$ROOT/mkfiles/mkjava | |
| 40 | + | |
| 41 | +LIMBOINCL=\ | |
| 42 | + $LIMBOINCL\ | |
| 43 | + -I$ROOT/java/pkg\ | |
| 44 | + | |
| 45 | +CEw7djK-zeE4-ezmJIAZ+.dis: AreaAveragingScaleFilter.class | |
| 46 | + j2d AreaAveragingScaleFilter.class | |
| @@ -0,0 +1,138 @@ | ||
| 1 | +<../../../../mkconfig | |
| 2 | + | |
| 3 | +DIRS=\ | |
| 4 | + event\ | |
| 5 | + datatransfer\ | |
| 6 | + image\ | |
| 7 | + peer\ | |
| 8 | + | |
| 9 | +TARG=\ | |
| 10 | + AWTError.dis\ | |
| 11 | + AWTEvent.dis\ | |
| 12 | + AWTEventMulticaster.dis\ | |
| 13 | + AWTException.dis\ | |
| 14 | + ActionInputPreferred.dis\ | |
| 15 | + Adjustable.dis\ | |
| 16 | + BorderLayout.dis\ | |
| 17 | + Button.dis\ | |
| 18 | + Canvas.dis\ | |
| 19 | + CardLayout.dis\ | |
| 20 | + Checkbox.dis\ | |
| 21 | + CheckboxGroup.dis\ | |
| 22 | + CheckboxMenuItem.dis\ | |
| 23 | + Choice.dis\ | |
| 24 | + Choice\$MenuWindow.dis\ | |
| 25 | + Color.dis\ | |
| 26 | + Component.dis\ | |
| 27 | +# for Component\$NativeInLightFixer.dis\ | |
| 28 | + uU+tI9EeZru56jt4ABTyZ.dis\ | |
| 29 | + Container.dis\ | |
| 30 | + Cursor.dis\ | |
| 31 | + Dialog.dis\ | |
| 32 | + Dimension.dis\ | |
| 33 | + Event.dis\ | |
| 34 | + EventDispatchThread.dis\ | |
| 35 | + EventQueue.dis\ | |
| 36 | + EventQueueItem.dis\ | |
| 37 | + FileDialog.dis\ | |
| 38 | + FlowLayout.dis\ | |
| 39 | + FocusManager.dis\ | |
| 40 | + Font.dis\ | |
| 41 | + FontMetrics.dis\ | |
| 42 | + Frame.dis\ | |
| 43 | + Graphics.dis\ | |
| 44 | + GridBagConstraints.dis\ | |
| 45 | + GridBagLayout.dis\ | |
| 46 | + GridBagLayoutInfo.dis\ | |
| 47 | + GridLayout.dis\ | |
| 48 | +# for IllegalComponentStateException.dis\ | |
| 49 | + 0xdZMaDu4YDn6Gv1ojXOi.dis\ | |
| 50 | + Image.dis\ | |
| 51 | + ImageMediaEntry.dis\ | |
| 52 | + Insets.dis\ | |
| 53 | + ItemSelectable.dis\ | |
| 54 | +# for KeyboardInputPreferred.dis\ | |
| 55 | + tZW2Nc+oIyd6dX0M-UilD.dis\ | |
| 56 | + Label.dis\ | |
| 57 | + LayoutManager.dis\ | |
| 58 | + LayoutManager2.dis\ | |
| 59 | + LightweightDispatcher.dis\ | |
| 60 | + LightweightPeer.dis\ | |
| 61 | + List.dis\ | |
| 62 | + MediaEntry.dis\ | |
| 63 | + MediaTracker.dis\ | |
| 64 | + Menu.dis\ | |
| 65 | + MenuBar.dis\ | |
| 66 | + MenuComponent.dis\ | |
| 67 | + MenuContainer.dis\ | |
| 68 | + MenuItem.dis\ | |
| 69 | + MenuShortcut.dis\ | |
| 70 | + Misc.dis\ | |
| 71 | + NoInputPreferred.dis\ | |
| 72 | + Panel.dis\ | |
| 73 | + Point.dis\ | |
| 74 | + Polygon.dis\ | |
| 75 | + PopupMenu.dis\ | |
| 76 | +# for PositionalInputPreferred.dis\ | |
| 77 | + 8AdFAaM7LI8fj1v6d+cNK.dis\ | |
| 78 | + PrintGraphics.dis\ | |
| 79 | + PrintJob.dis\ | |
| 80 | + Rectangle.dis\ | |
| 81 | + ScrollPane.dis\ | |
| 82 | + ScrollPane\$PeerFixer.dis\ | |
| 83 | + ScrollPaneAdjustable.dis\ | |
| 84 | + Scrollbar.dis\ | |
| 85 | + Shape.dis\ | |
| 86 | + SystemColor.dis\ | |
| 87 | + TextArea.dis\ | |
| 88 | + TextComponent.dis\ | |
| 89 | + TextField.dis\ | |
| 90 | + Toolkit.dis\ | |
| 91 | + Window.dis\ | |
| 92 | + | |
| 93 | +DISBIN=$ROOT/java/dis/java/java/awt | |
| 94 | + | |
| 95 | +<$ROOT/mkfiles/mkjava | |
| 96 | +<$ROOT/mkfiles/mksubdirs | |
| 97 | + | |
| 98 | +Choice\$MenuWindow.dis: Choice.class | |
| 99 | + j2d Choice\$MenuWindow.class | |
| 100 | + | |
| 101 | +uU+tI9EeZru56jt4ABTyZ.dis: Component.class | |
| 102 | + j2d Component\$NativeInLightFixer.class | |
| 103 | + | |
| 104 | +LightweightDispatcher.dis: Container.class | |
| 105 | + j2d LightweightDispatcher.class | |
| 106 | + | |
| 107 | +EventQueueItem.dis: EventQueue.class | |
| 108 | + j2d EventQueueItem.class | |
| 109 | + | |
| 110 | +GridBagLayoutInfo.dis: GridBagLayout.class | |
| 111 | + j2d GridBagLayoutInfo.class | |
| 112 | + | |
| 113 | +0xdZMaDu4YDn6Gv1ojXOi.dis: IllegalComponentStateException.class | |
| 114 | + j2d $prereq | |
| 115 | + | |
| 116 | +tZW2Nc+oIyd6dX0M-UilD.dis: KeyboardInputPreferred.class | |
| 117 | + j2d $prereq | |
| 118 | + | |
| 119 | +ImageMediaEntry.dis: MediaTracker.class | |
| 120 | + j2d ImageMediaEntry.class | |
| 121 | + | |
| 122 | +MediaEntry.dis: MediaTracker.class | |
| 123 | + j2d MediaEntry.class | |
| 124 | + | |
| 125 | +8AdFAaM7LI8fj1v6d+cNK.dis: PositionalInputPreferred.class | |
| 126 | + j2d $prereq | |
| 127 | + | |
| 128 | +ScrollPane\$PeerFixer.dis: ScrollPane.class | |
| 129 | + j2d ScrollPane\$PeerFixer.class | |
| 130 | + | |
| 131 | +ScrollPaneAdjustable.dis: ScrollPane.class | |
| 132 | + j2d ScrollPaneAdjustable.class | |
| 133 | + | |
| 134 | +LightweightPeer.dis: Toolkit.class | |
| 135 | + j2d LightweightPeer.class | |
| 136 | + | |
| 137 | +FocusManager.dis: Window.class | |
| 138 | + j2d FocusManager.class | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,6 @@ | ||
| 1 | + | |
| 2 | +package java.awt.peer; | |
| 3 | + | |
| 4 | +public interface DoubleBufferingPeer { | |
| 5 | + public boolean isDoubleBuffered(); | |
| 6 | +} | |
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
Empty file added.
| @@ -0,0 +1,35 @@ | ||
| 1 | +<../../../../../mkconfig | |
| 2 | + | |
| 3 | +TARG=\ | |
| 4 | + ActiveEvent.dis\ | |
| 5 | + ButtonPeer.dis\ | |
| 6 | + CanvasPeer.dis\ | |
| 7 | + CheckboxMenuItemPeer.dis\ | |
| 8 | + CheckboxPeer.dis\ | |
| 9 | + ChoicePeer.dis\ | |
| 10 | + ComponentPeer.dis\ | |
| 11 | + ContainerPeer.dis\ | |
| 12 | + DialogPeer.dis\ | |
| 13 | + DoubleBufferingPeer.dis\ | |
| 14 | + FileDialogPeer.dis\ | |
| 15 | + FontPeer.dis\ | |
| 16 | + FramePeer.dis\ | |
| 17 | + LabelPeer.dis\ | |
| 18 | + LightweightPeer.dis\ | |
| 19 | + ListPeer.dis\ | |
| 20 | + MenuBarPeer.dis\ | |
| 21 | + MenuComponentPeer.dis\ | |
| 22 | + MenuItemPeer.dis\ | |
| 23 | + MenuPeer.dis\ | |
| 24 | + PanelPeer.dis\ | |
| 25 | + PopupMenuPeer.dis\ | |
| 26 | + ScrollPanePeer.dis\ | |
| 27 | + ScrollbarPeer.dis\ | |
| 28 | + TextAreaPeer.dis\ | |
| 29 | + TextComponentPeer.dis\ | |
| 30 | + TextFieldPeer.dis\ | |
| 31 | + WindowPeer.dis\ | |
| 32 | + | |
| 33 | +DISBIN=$ROOT/java/dis/java/java/awt/peer | |
| 34 | + | |
| 35 | +<$ROOT/mkfiles/mkjava | |